1
0
Fork 0
Commit graph

206 commits

Author SHA1 Message Date
Sjoerd van der Berg
2fbf5e8972 Fix the POP Mod/rm issue
Changes for new interrupts
Some privileged instructions.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1447
2003-11-18 22:23:50 +00:00
Sjoerd van der Berg
f854f9a58c Some kind of pagefault implementation
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1446
2003-11-18 22:20:10 +00:00
Sjoerd van der Berg
57a32fa94e Runrealint uses a table with 0xcd 0x00-0xff instructions now
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1438
2003-11-18 20:46:01 +00:00
Sjoerd van der Berg
670173ebc4 added 32-bit btr opcode
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1435
2003-11-13 22:49:10 +00:00
Sjoerd van der Berg
37f7aa5de5 Fix opcode group 6
Fix POP R/M have to change sp before the r/m lookup


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1429
2003-11-11 08:15:52 +00:00
Ulf Wohlers
94099cbbf1 Added callback descriptions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1427
2003-11-09 16:44:27 +00:00
Sjoerd van der Berg
81ed2689cb Use new lazy flag defines for conditional testing
changed inc/dec instructions to also safe first parameter


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1425
2003-11-09 09:48:02 +00:00
Sjoerd van der Berg
4730d55ed9 RCL/RCR instructions changed a bit
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1424
2003-11-09 09:46:39 +00:00
Sjoerd van der Berg
53874d092a Fix flags with binary operations setting the overflow flag to 0
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1423
2003-11-09 09:45:01 +00:00
Sjoerd van der Berg
a74a1dc337 Changed some of the flag handling
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1406
2003-11-05 19:57:13 +00:00
Sjoerd van der Berg
d11ec849a5 Forcing get_CF to be bool and INC/DEC set var1 flag variable
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1405
2003-11-05 19:50:33 +00:00
Sjoerd van der Berg
814ed9bef5 New lazyflag testing and fillflags returns the flags
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1404
2003-11-05 19:49:30 +00:00
Sjoerd van der Berg
b4753c5c62 Far jmps/calls interrupts restart the core
Changes for new lazy flag testing
Removed carry flag only changing type


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1403
2003-11-05 19:48:49 +00:00
Sjoerd van der Berg
f28bdda7b1 Far jmps/calls interrupts restart the core
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1402
2003-11-05 19:45:07 +00:00
Sjoerd van der Berg
43f7ba3ed9 parity table changed to bit16u
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1401
2003-11-05 19:43:02 +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
63cd8d1b5d Fix errors with trap flag and interrupts
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1387
2003-10-28 09:43:06 +00:00
Sjoerd van der Berg
9f6a6bc5cf New IO Functions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1380
2003-10-27 13:19:19 +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
8c832a4a81 Remove the old slow_16 core
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1375
2003-10-26 17:44:35 +00:00
Sjoerd van der Berg
e712e7dc9c Paging tables/functions changed somewhat
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1356
2003-10-22 14:30:57 +00:00
Sjoerd van der Berg
e21e61ce04 Little hack to skip CLTS instruction in non-debug mode
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1349
2003-10-19 19:31:59 +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
Sjoerd van der Berg
91fa140b2c Exit with unhandled opcode if not running debug version
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1325
2003-10-14 20:25:32 +00:00
Peter Veenstra
c36318f721 correct all unintentional changes
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1314
2003-10-14 08:38:36 +00:00
Ulf Wohlers
55591a56da no message
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1312
2003-10-13 19:44:47 +00:00
Sjoerd van der Berg
1153f2766b Fix the logging messages and give an e_exit in non-debug version for enabling paging.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1305
2003-10-10 08:11:48 +00:00
Ulf Wohlers
5235b729e6 Moved a LEAVECORE out of a C_DEBUG define (int 3)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1288
2003-10-02 11:07:11 +00:00
Sjoerd van der Berg
775ffc2526 Made core full reentrant
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1286
2003-09-30 15:44:30 +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
4280d1cef5 Disabled zeroing of int f handler.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1275
2003-09-29 21:06:49 +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
155cbc5dff Add opcode 0xe5 an 0xe7
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1261
2003-09-22 14:36:13 +00:00
Sjoerd van der Berg
ccbc6f2a8b Fix some issues with opcodes saving 32-bit results where they should save 16-bit
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1248
2003-09-12 16:28:20 +00:00
Sjoerd van der Berg
cdfcb17335 Add 32-bit bound and saving segment values to memory only saves 16-bit value
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1247
2003-09-12 16:15:55 +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
20083140da Fixed 32-bit BSR
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1230
2003-09-07 10:28:18 +00:00
Sjoerd van der Berg
4c2a65992a Added 32-bit ARPL and 32-bit direct far call
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1218
2003-09-01 20:59:20 +00:00
Sjoerd van der Berg
ef53831d80 A NEWLINE
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1203
2003-08-24 14:43:15 +00:00
Sjoerd van der Berg
a91af64d77 Changed SHLD and SHRD instructions to use common function defines.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1200
2003-08-23 07:13:06 +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
2ae4a3e7d9 Change switches a bit so compiler can create jump tables
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1196
2003-08-22 09:21:41 +00:00
Ulf Wohlers
8b48f20dbd FILLFLAGS -> FillFlags
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1183
2003-08-11 15:50:52 +00:00
Sjoerd van der Berg
856e7b3fa9 bug with directly changing the flags.word
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1182
2003-08-11 15:49:14 +00:00
Sjoerd van der Berg
6fed40f0a8 Remove the FILLFLAGS define and use a function call for it.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1180
2003-08-11 08:42:58 +00:00
Sjoerd van der Berg
f97b4bb800 BSR and BSF correctly set zero flag now and 0 source for scan
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1176
2003-07-31 16:05:16 +00:00
Sjoerd van der Berg
76ec14475b Bit testing opcodes didn't load first operand
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1175
2003-07-31 15:33:08 +00:00
Sjoerd van der Berg
f6cd3dd51e On exception reset eip to start of opcode.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1173
2003-07-28 08:25:02 +00:00
Sjoerd van der Berg
551fb535f1 Add lazy_flags.h to the makefile
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1172
2003-07-28 08:23:14 +00:00