1
0
Fork 0
Commit graph

267 commits

Author SHA1 Message Date
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
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
Sjoerd van der Berg
99b81667e5 Enable paging for non-debug builds
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1510
2003-12-30 23:28:54 +00:00
Sjoerd van der Berg
5573af89f6 Changed the paging link management
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1506
2003-12-29 23:07:12 +00:00
Sjoerd van der Berg
485eb2d5d4 Fixing the fixes
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1501
2003-12-19 16:17:51 +00:00
Sjoerd van der Berg
6cdb0c8994 Fixed Bit testing instructions, thanks srecko
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1500
2003-12-19 16:08:26 +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
b82ffd8088 fixed pop gs
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1492
2003-12-13 15:57:26 +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
7d859fe795 added opcode length as parameter for ret,call and jmp instructions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1487
2003-12-11 21:35:06 +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