1
0
Fork 0
Commit graph

319 commits

Author SHA1 Message Date
Peter Veenstra
2146cae4ef release eax when fstsw is called
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2199
2005-04-28 18:54:25 +00:00
Peter Veenstra
2d4f6f39b7 disable fpu if not defined (coredynamic)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2198
2005-04-27 21:24:14 +00:00
Sjoerd van der Berg
93a94c5b04 Fix a bug with eip being set with wrong size on block ending
Add linking to fpu opcodes in fpu emulator


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2196
2005-04-27 19:57:37 +00:00
Peter Veenstra
b34f94ecc6 changed exit for invalid privilegdes when setting a segment to an exception. Fixes Extreme pinball. (Thanks wd)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2193
2005-04-25 19:01:11 +00:00
Peter Veenstra
baac15a8da negative cycles not allowed
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2186
2005-04-21 19:12:47 +00:00
Peter Veenstra
77f14da8f0 added patch 1174832 by moe. lock and xadd in corefull/normal/simple
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2178
2005-04-19 08:28:41 +00:00
Peter Veenstra
a17faf3c49 idiv and friends shouldn't touch registers if an overflow occurs. (Thanks wd!)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2175
2005-04-15 14:20:42 +00:00
Peter Veenstra
3b4e696309 new configuration layer. Cpu can change cores and other settings
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2159
2005-03-25 11:45:37 +00:00
Peter Veenstra
5a3f4fb38d jumpwise optimalisations
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2155
2005-03-25 10:12:05 +00:00
Peter Veenstra
874cb31df2 New callback class to handle callbacks
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2144
2005-03-25 08:40:42 +00:00
Peter Veenstra
e80222f29b New include system + Removed stddef.h from dosbox.h , added it to core_dyn_x86.cpp
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2135
2005-03-24 10:11:18 +00:00
Peter Veenstra
a05b1da479 Small changes in the taskswitching code (wd)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2112
2005-02-21 15:36:14 +00:00
Peter Veenstra
2094d8b985 Year update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2106
2005-02-10 10:21:12 +00:00
Peter Veenstra
959b9b89d5 Change priority of logmessages
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2105
2005-02-07 19:04:54 +00:00
Peter Veenstra
31cbdda460 Added exception for earth siege 1
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2101
2005-01-24 23:11:19 +00:00
Peter Veenstra
a836014e11 Added exception for win3.x installer(wd/mirek)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2100
2005-01-22 22:43:30 +00:00
Peter Veenstra
2e2f007ec2 Huge exceptions addition by wd. Fixes a lot of the segment missing errors with dos4gw. Changed the defaults a bit (IGNORE by default and regular checking in debug mode)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2098
2005-01-18 12:50:06 +00:00
Peter Veenstra
c99f8e8710 IO Exceptions (wd)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2094
2004-12-28 16:13:26 +00:00
Peter Veenstra
36cc519170 Changed priority of some messages (Requested by Mirek)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2093
2004-12-28 16:11:54 +00:00
Peter Veenstra
3fd1789b95 Seperate read and write faults(wd). And lowered priority a bit of the log messages
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2092
2004-12-28 16:03:02 +00:00
Sjoerd van der Berg
fba8482ce1 Use special physical memory access for dma transfers
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2086
2004-12-22 19:49:24 +00:00
Sjoerd van der Berg
4d7944fe9c Fix carry flag for ROR instructions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2036
2004-10-23 15:25:47 +00:00
Sjoerd van der Berg
7a096a16ea Change flag handling of rotate instructions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2028
2004-10-17 15:33:52 +00:00
Sjoerd van der Berg
18f7967fee Fix a popf issue
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1976
2004-09-15 08:57:40 +00:00
Sjoerd van der Berg
8f64b09447 Make the EA Sib function static
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1948
2004-09-07 14:22:48 +00:00
Sjoerd van der Berg
78a0e947ae Clear paging link cache when full
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1946
2004-09-07 12:13:38 +00:00
Peter Veenstra
2c0338404b Added some callback information for the lower numbers
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1933
2004-08-29 11:22:37 +00:00
Sjoerd van der Berg
0da2fd2d36 added core_simple
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1922
2004-08-23 12:25:34 +00:00
Sjoerd van der Berg
fc8d4d89c2 Add new cpu core simple
Changes for new memory handling


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1919
2004-08-23 12:17:30 +00:00
Peter Veenstra
ca409fd57c Typo in preamble
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1899
2004-08-04 09:12:57 +00:00
Peter Veenstra
94795e0fd4 Changed debugger key to Pause (was -)!!!!
If non-debug mode => pause pauses dosbox.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1886
2004-07-12 12:42:20 +00:00
Sjoerd van der Berg
8126b4002c Change the way the callback_idle call wastes cpu power
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1878
2004-07-08 07:09:30 +00:00
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
239e9b3b5a Fix some gcc 3.4 issues.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1800
2004-05-15 07:57:04 +00:00
Peter Veenstra
64b34126ce fixed heavy debug compilation
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1783
2004-04-25 15:47:03 +00:00
Sjoerd van der Berg
a117b44fbb Fix annoying gcc warning
Fix exceptions not restoring flags


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1781
2004-04-25 13:41:03 +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
498ed26525 Fix branches getting out of range with div/idiv exceptions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1776
2004-04-24 09:16:08 +00:00
Sjoerd van der Berg
48a86f7e97 Added some (void *) casts to make gcc happy
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1775
2004-04-22 22:47:04 +00:00
Sjoerd van der Berg
db7e1ea4da Some changes for the new handler functions
Added some more opcodes to dynamic generator


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1774
2004-04-22 22:41:46 +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
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