1
0
Fork 0
Commit graph

58 commits

Author SHA1 Message Date
Sjoerd van der Berg
de831a5899 Remove exception warning
Use new mapper functions


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1815
2004-06-10 07:13:02 +00:00
Sjoerd van der Berg
de5dd0de7c make prepare exception function global
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1777
2004-04-24 09:17:00 +00:00
Sjoerd van der Berg
5460def634 Changes to cpu cores.
Save/Load eip after each opcode
Handle IO exceptions
Handle protection exception for protected opcodes with too less privilege


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1773
2004-04-22 22:40:46 +00:00
Sjoerd van der Berg
cd5f7c9666 Changed some cpu functions to get opcode length as parameter
Added cli and sti functions


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1747
2004-03-31 17:27:31 +00:00
Sjoerd van der Berg
5555bd0ed9 Add some new exceptions
Add some new cases to LAR and LSL


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1686
2004-02-26 07:42:53 +00:00
Sjoerd van der Berg
6455ddbd6e fix push/pop instructions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1583
2004-01-14 17:09:41 +00:00
Sjoerd van der Berg
a1d92f605e Add ID bit in flags register to indicate CPUID opcode available
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1578
2004-01-13 08:56:10 +00:00
Sjoerd van der Berg
9048b0f14b Remove core selection defines
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1566
2004-01-11 12:52:57 +00:00
Sjoerd van der Berg
2b919b0ffe Keep a global direction flag register
Change the push/pop functions for correct 16-bit SP increase/descrease


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1561
2004-01-11 12:29:03 +00:00
Peter Veenstra
94b8931b78 Changed default cpu cycles to 2500
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1553
2004-01-10 18:42:58 +00:00
Peter Veenstra
fcbd0fe854 Copyright to 2004
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1552
2004-01-10 14:03:36 +00:00
Sjoerd van der Berg
012d12d691 add option to select cpu core in config file
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1544
2004-01-07 21:37:47 +00:00
Sjoerd van der Berg
23a4d8fe3d Changed cpu core names
Changed the exception handling of far jmp/calls interrupts and some others
Added x86 dynamic core startup code
Some new defines to enable/disable the dynamic core


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1513
2004-01-01 12:26:08 +00:00
Ulf Wohlers
559e21d17b added exception if ss is loaded with illegal segment
fixed bug in IRET - return to outer level


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1497
2003-12-17 23:10:00 +00:00
Ulf Wohlers
b07c69403d limit value in CPU_SetSegGeneral to 16bit
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1490
2003-12-12 19:51:20 +00:00
Sjoerd van der Berg
f6f780f108 Clear segment registers when interrupting a v86 task
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1489
2003-12-12 17:23:55 +00:00
Ulf Wohlers
d7d47dfaee added exception 'segment not present',
removed some unneccessary checks in VERR,VERW,LAR,LSL


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1486
2003-12-11 21:32:55 +00:00
Sjoerd van der Berg
9c7b2aa638 Changed exception handling to let core start the exception.
Added support for segment load exceptions


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1482
2003-12-10 17:02:22 +00:00
Peter Veenstra
6fdc7a5359 added cpu cycle changing by configfile
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1479
2003-12-10 13:20:26 +00:00
Sjoerd van der Berg
f8978947df bug fix with gdt_count
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1452
2003-11-18 22:35:56 +00:00
Sjoerd van der Berg
09366aa37f Basic task switching support.
Basic v86 mode support.
Added some privilege level exceptions
Better support of software interrupts


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1449
2003-11-18 22:29:31 +00:00
Sjoerd van der Berg
e23bab62ff Removed code type options
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1400
2003-11-05 19:41:10 +00:00
Sjoerd van der Berg
66df37b533 New lazy flag header file and endian fixes for flags
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1378
2003-10-26 19:00:47 +00:00
Sjoerd van der Berg
f901c5e096 Remove help line
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1336
2003-10-14 23:34:28 +00:00
Ulf Wohlers
a031928dcb Added 286-Callgates and return to higher privilege
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1281
2003-09-30 13:48:20 +00:00
Peter Veenstra
d079c8388a Added title support
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1274
2003-09-29 21:05:59 +00:00
Peter Veenstra
f28afdb27c rewrote message routines
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1272
2003-09-29 19:33:11 +00:00
Sjoerd van der Berg
b86cba7028 Set code.big to false when settings CS in real mode.
SMSW stores entire cr0


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1246
2003-09-12 16:14:27 +00:00
Sjoerd van der Berg
e18440ce32 New core_normal based on old core_16 for handling real and protected mode code.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1199
2003-08-22 20:13:48 +00:00
Sjoerd van der Berg
1780f70232 Core_full cpu decoder starts up when protected mode is enabled.
Small change for certain flag bits always being on/off


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1169
2003-07-27 22:53:37 +00:00
Sjoerd van der Berg
3085db7883 Setting stack segment now sets a stack mask
Check for cpu decoder changes when CS changes.
Changed handling of HLT a bit


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1158
2003-07-26 10:41:34 +00:00
Sjoerd van der Berg
a1993a714c Call paging functions.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1118
2003-07-14 08:32:22 +00:00
Sjoerd van der Berg
17d3f15643 Make push/pop calls non-inline
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1102
2003-07-08 18:27:14 +00:00
Sjoerd van der Berg
708d8cb3c3 CPU Cores keep their own flag handling
New lazyflags header file


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1086
2003-07-06 13:10:28 +00:00
Sjoerd van der Berg
b222a9576a Warning clean up
Removing some old unused routines
Addind some newlines after some files.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1077
2003-06-19 17:12:50 +00:00
Sjoerd van der Berg
4d45092d87 Added HLT Instruction handling routines.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1055
2003-06-14 07:27:27 +00:00
Ulf Wohlers
94ea572dc1 Added real mode iretd
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1052
2003-06-12 13:01:12 +00:00
Sjoerd van der Berg
1169165d7f Allow switching of cpu cores through certain instructions.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1034
2003-06-02 21:18:38 +00:00
Peter Veenstra
c9b747adc4 new logging system
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@987
2003-05-04 19:12:09 +00:00
Sjoerd van der Berg
82c7fc4021 Added VERR and VERW
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@977
2003-05-01 18:08:57 +00:00
Sjoerd van der Berg
bbe3ba5120 Fix for interrupt flag in pmode interrupts
Small hack to stop messages from being showed.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@960
2003-04-23 19:24:05 +00:00
Sjoerd van der Berg
60e058ca76 Some more protected mode opcodes added.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@946
2003-04-20 10:40:13 +00:00
Sjoerd van der Berg
2639d29db8 CPUID Instruction
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@936
2003-04-16 16:34:37 +00:00
Sjoerd van der Berg
72b321a4cf Changes for new flags
Added a load of support functions for protected mode operations.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@915
2003-04-13 18:32:41 +00:00
Sjoerd van der Berg
109bd9958f Small clean up and fix with new cpu.h
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@893
2003-04-08 19:01:30 +00:00
Sjoerd van der Berg
58622a1de9 Clean up some old structure
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@882
2003-04-06 20:00:19 +00:00
Sjoerd van der Berg
302cf8e94a New cpu core for some testing.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@859
2003-04-01 22:16:19 +00:00
Sjoerd van der Berg
b36c835664 Changed keyboard modifiers
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@706
2003-03-02 21:50:42 +00:00
Peter Veenstra
f79eaaba75 updates for new logging system
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@695
2003-02-27 19:56:22 +00:00
Sjoerd van der Berg
3e9e80ea13 Protection against PIC index overflowing when changing cycles.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@684
2003-02-22 12:16:20 +00:00