1
0
Fork 0
Commit graph

278 commits

Author SHA1 Message Date
Sjoerd van der Berg
28deb2efa4 Fix typo for opcode 0x29d
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1755
2004-04-03 10:34:06 +00:00
Sjoerd van der Berg
410ceedaba Changed some cpu functions to get opcode length as parameter
Added cli and sti functions
Changed LAR/LSL opcodes to preload the value incase it doesn't get changed
Added some support illegal opcodes


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1748
2004-03-31 17:28:16 +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
872f5726d0 Save ebp during dynamic block execution
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1739
2004-03-23 22:17:55 +00:00
Sjoerd van der Berg
a07aad49c8 New write map to handle write protection
New flag handling
New linking handling of blocks
Better handling of cache resetting
Some bug fixes


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1738
2004-03-23 21:00:42 +00:00
Sjoerd van der Berg
2b1e4671e4 Default all unhandled opcodes to be illegal opcodes
Print the illegal/unhandled opcode in debug mode


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1736
2004-03-23 20:02:45 +00:00
Sjoerd van der Berg
1ceeb2c5ce Always calculate all flags with mul,imul
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1717
2004-03-12 09:06:45 +00:00
Sjoerd van der Berg
44bafe6a29 Fix switching from 32 to 16 address lookups with a prefix
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1716
2004-03-12 09:06:28 +00:00
Sjoerd van der Berg
410b9f72d2 Added some exceptions for illegal opcodes.
Double 0x67 prefixes should work now.
Thnx c2woody


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1688
2004-02-28 09:21:02 +00:00
Sjoerd van der Berg
e8913d4dd2 Save the old value for LAR and LSL instructions.(c2woody)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1687
2004-02-26 07:43:36 +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
7a33b04eab Use the slower version of adding eip in some define
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1631
2004-01-31 12:13:43 +00:00
Sjoerd van der Berg
dc174a4897 Fix small jumps forcing eip to 16bit in 32bit mode
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1630
2004-01-31 09:17:03 +00:00
Sjoerd van der Berg
5993407d53 Remove extra cpu_cycles check
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1629
2004-01-31 08:46:42 +00:00
Sjoerd van der Berg
8b68de7de2 Add pmode exceptions for cli/sti/popf
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1600
2004-01-25 12:53:29 +00:00
Sjoerd van der Berg
83711af671 Use CPU_Push/CPU_Pop functions for pushing and popping
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1586
2004-01-14 17:20:28 +00:00
Sjoerd van der Berg
e5cf2a9b40 Add entry for CLTS instruction
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1585
2004-01-14 17:19:43 +00:00
Sjoerd van der Berg
33d5b78c13 Remove the extra cycle for LSS instructions
Remove some comments


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1584
2004-01-14 17:17:01 +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
73943385cd Fix effective address calculation of bittesting opcodes with register operand
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1582
2004-01-13 21:41:58 +00:00
Sjoerd van der Berg
3aa903dbfc Renamed start variable to opcode_start
Fixed EXCEPTION define to us opcode_start


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1580
2004-01-13 09:08:24 +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
ec08bdb468 Fix 16/32 bit IO reads and writes
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1575
2004-01-12 10:16:26 +00:00
Sjoerd van der Berg
9761c00908 Added segment exceptions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1574
2004-01-12 10:06:40 +00:00
Sjoerd van der Berg
a3bbaacb51 Fix BTRd instruction, missed a break;
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1573
2004-01-12 10:05:57 +00:00
Sjoerd van der Berg
69b007c833 Fix XLAT instruction with 32-bit address size
Fix BSFw opcode to first load flags
Fix 16-bit bit testing opcodes to correct effective address


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1569
2004-01-11 16:31:55 +00:00
Sjoerd van der Berg
a3a44f588c Use new IO handler functions in ins and outs opcodes
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1568
2004-01-11 16:30:41 +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
5919036d42 fix assembler warning
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1565
2004-01-11 12:38:28 +00:00
Sjoerd van der Berg
b267310755 An amazing newline
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1564
2004-01-11 12:36:45 +00:00
Sjoerd van der Berg
4a016f2b4b Set and use the global direction flag variable
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1563
2004-01-11 12:31:12 +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
Sjoerd van der Berg
2394f38514 Add string operations for MOVS,STOS,LODS
Change the way temporary registers are handled with loading and saving


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1560
2004-01-11 12:24:56 +00:00
Sjoerd van der Berg
d4274ba2ce Disable the dynamic core log messages by default
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1555
2004-01-10 19:12:45 +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
Peter Veenstra
05a4fc6daa Revectorred int 5c(wd)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1542
2004-01-07 20:23:48 +00:00
Sjoerd van der Berg
df06393f64 Add IMUL Gv,Ev
Add LES,LDS,LFS,LGS
Add POP FS/GS PUSH FS/GS
Add MOVZX/MOVSX


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1541
2004-01-07 16:10:01 +00:00
Sjoerd van der Berg
7b3747769c fix double shift gen functions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1539
2004-01-06 20:48:21 +00:00
Sjoerd van der Berg
d17fccc9b9 add shld/shrd opcodes
fix pmode segment sets


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1538
2004-01-06 20:47:42 +00:00
Sjoerd van der Berg
395d712a23 Added exception checking for pmode segment loads
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1534
2004-01-03 10:33:09 +00:00
Sjoerd van der Berg
3cb8910915 Changed running block variable
Test if someone makes changes to currently running block


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1529
2004-01-02 20:50:59 +00:00
Sjoerd van der Berg
252cc94215 Fix pop ss and mov ss,val instruction to release the stack mask registers
Fix the mov [mem],seg instruction to only save a short


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1528
2004-01-02 20:49:35 +00:00
Sjoerd van der Berg
f06e281ba5 Changed visual c assembly startup piece a bit
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1527
2004-01-02 20:46:38 +00:00
Sjoerd van der Berg
ce2a446de9 Removed last remaining fastcall functions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1521
2004-01-01 20:44:09 +00:00
Sjoerd van der Berg
1ac82ec834 Changed #include filename slashes
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1520
2004-01-01 20:35:44 +00:00
Sjoerd van der Berg
00e6d3c31d No longer directly stack variables in assembly
Changed initial flag loading


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1519
2004-01-01 20:33:22 +00:00
Sjoerd van der Berg
bd8196414c Fix for visual c startup assembly code
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1516
2004-01-01 12:39:53 +00:00
Sjoerd van der Berg
f4059666c3 x86 dynamic core
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1515
2004-01-01 12:33:03 +00:00