1
0
Fork 0
Commit graph

463 commits

Author SHA1 Message Date
Peter Veenstra
d8c2179a83 Fix some warning and compilation on VS2003.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3334
2009-03-29 17:32:20 +00:00
Sebastian Strohhäcker
6fee7ccb03 immediately check for irq line activation when popf enables the interrupt flag (fixes star quest 1, thanks to ripsaw for finding this)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3331
2009-03-27 18:10:35 +00:00
Sebastian Strohhäcker
44fd168a61 adjust debug checking for int/call functions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3321
2009-03-16 18:10:08 +00:00
Sebastian Strohhäcker
8fa4a2d43a clear direction flag when entering ps2 irq routine (needed when irq happens if direction flag is set and the
user subroutine assumes DF to be clear), thanks to ripsaw for figuring this out


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3313
2009-03-03 18:30:41 +00:00
Peter Veenstra
5d7701ef67 Add cycles=number support. Based on patch of h-a-l-9000, but slightly better. Beautify the configfile a bit.(Beta2)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3304
2009-02-15 20:01:08 +00:00
Peter Veenstra
c90ebb3028 Header updates.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3289
2009-02-01 14:24:38 +00:00
Sebastian Strohhäcker
a6d6dce331 have irq6 use a different default handler to work around a bug in a game (thanks to ripsaw, should fix design your own railroad)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3263
2009-01-18 13:57:45 +00:00
Peter Veenstra
f47d48ba07 Start stuff with an REFT instead of IRET. Fixes CyberRace.(Beta 2)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3260
2009-01-14 22:16:00 +00:00
Sebastian Strohhäcker
8b56a6db1f fake page dirtying in some cases for memory reads if later writes can not be caught
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3242
2008-12-04 21:09:32 +00:00
Sebastian Strohhäcker
02cafbb3f0 adjust cycles for short-running string loops (thanks to ripsaw for pointing this out); fixes some gunship2000 flaws
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3229
2008-10-09 20:37:08 +00:00
Sebastian Strohhäcker
353b1c9011 keep it compiling
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3221
2008-09-19 20:18:21 +00:00
Sebastian Strohhäcker
298034bec7 ability to cache register/segment register pointer in host register for the recompiler (M-HT, implemented for arm backends)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3220
2008-09-19 16:48:03 +00:00
Sebastian Strohhäcker
dce428ac54 armv4le backend update (M-HT), adds distance data pool for thumb emitter
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3215
2008-09-02 20:44:41 +00:00
Peter Veenstra
cbdb5b97fe Change logging message to always display things in twofault.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3211
2008-08-27 16:21:30 +00:00
Sebastian Strohhäcker
6bc0cb78a1 add INVLPG to recompiler (Cavewars)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3208
2008-08-23 16:36:21 +00:00
Sebastian Strohhäcker
021c76f6d9 add arm4 dynamic recompiler backend (M-HT)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3206
2008-08-20 14:13:21 +00:00
Peter Veenstra
6640a3e6f0 Fix ROR byte flag calculations. (thank you h-a-l-9000 for your help in determing which instruction was broken)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3205
2008-08-19 13:59:24 +00:00
Sebastian Strohhäcker
c78a9f6c03 fix/work around some gcc Wall warnings
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3192
2008-08-06 18:34:21 +00:00
Sebastian Strohhäcker
24bb7de36c add prefetch queue emulation
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3158
2008-05-21 21:29:32 +00:00
Sebastian Strohhäcker
e3aba20b3c better separation of cpu type specific features; make cpu type selectable
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3155
2008-05-18 13:11:14 +00:00
Peter Veenstra
3a57da9aed Fix bug 1957787
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3152
2008-05-05 13:29:04 +00:00
Peter Veenstra
e4ab181b7b Make auto a valid choice when there is no dynamic core.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3148
2008-04-29 08:22:26 +00:00
Sebastian Strohhäcker
434cc5408b early checking for v86 mode protection violation of special fullcore opcodes
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3131
2008-03-20 00:13:41 +00:00
Peter Veenstra
45074288cf Partial rewrite of the configsystem part 2. Should be usuable. Missing parts are cosmetic. (based on Moe his stuff). I hope everything works in visual C.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3098
2008-02-10 11:14:03 +00:00
Sebastian Strohhäcker
ae447b6477 prevent auto cycle adjusting to lower the cycles too much on heavy background load
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3080
2008-01-16 20:17:15 +00:00
Sebastian Strohhäcker
bfe2db4163 force page initialization for code recompilation
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3072
2008-01-05 21:05:06 +00:00
Sebastian Strohhäcker
962df668ff use dedicated page handler for pages which prohibit write access for user-level (enables fast reading);
some code cleanup and small fixes


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3070
2007-12-29 20:22:22 +00:00
Sebastian Strohhäcker
60419734aa allow more than one seg override prefix, certain segment loading parameters are invalid (recompiling cores)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3057
2007-12-08 15:43:30 +00:00
Sebastian Strohhäcker
57da409fe7 certain segment loading parameters are invalid (normal core);
add hlt entry in 32bit addressing mode (full core)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3056
2007-12-08 10:24:41 +00:00
Sebastian Strohhäcker
26722f8d4e better segment clearing for iret/retf (outer level returns)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3055
2007-12-07 20:49:19 +00:00
Sebastian Strohhäcker
7ae0f48fb5 save/restore the modified pl var
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3053
2007-11-29 21:01:46 +00:00
Sebastian Strohhäcker
2b61d6eaf5 move state commit point of pmode/v86 iret further back
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3052
2007-11-28 23:06:54 +00:00
Sebastian Strohhäcker
ee3ead7b27 raise privilege level for cpu-internal supervisor level memory accesses
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3051
2007-11-26 00:00:58 +00:00
Sebastian Strohhäcker
cb37216a20 improve page protection handling
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3050
2007-11-24 17:26:48 +00:00
Sebastian Strohhäcker
0e6e7bea4c use exception-checking code even in real mode (for code which is later ran in v86 mode), dynamic cores only
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3047
2007-11-15 21:06:18 +00:00
Sebastian Strohhäcker
72199985fa add banked tlb (crazyc)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3007
2007-10-05 17:45:53 +00:00
Sebastian Strohhäcker
733a0244db fix usermode page access privilege check (fixes dck)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3006
2007-10-03 20:23:37 +00:00
Sebastian Strohhäcker
138adbcf39 swap parameter loading to work around register clashing for x86_64 (drc dynamic fpu)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3005
2007-10-01 20:31:16 +00:00
Sebastian Strohhäcker
c6df37a834 simplify memory checking handlers a bit
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3004
2007-09-30 14:10:08 +00:00
Sebastian Strohhäcker
d0b4e12779 clean up memory access functions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3003
2007-09-29 13:23:59 +00:00
Sebastian Strohhäcker
cd5a157a34 make recompiler codepage handlers' writemap accesses alignment/endian aware
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3002
2007-09-29 10:30:46 +00:00
Sebastian Strohhäcker
6f814e272b some space for larger blocks
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2984
2007-08-22 12:34:43 +00:00
Sebastian Strohhäcker
62c4a16823 wrap code cache earlier to prevent large blocks at the end of the cache (crazyc)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2975
2007-08-18 15:36:19 +00:00
Sebastian Strohhäcker
d404647529 enable core=auto switching for recompiling core as well
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2957
2007-08-09 19:52:33 +00:00
Sebastian Strohhäcker
5b1d1c360c enable dcode for x86-64 (after gulikoza (thanks!) fixed the remaining bugs)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2950
2007-08-07 19:03:43 +00:00
Sebastian Strohhäcker
05dcd5832f (trying to) fix parameter encoding (x86-64 drc only)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2949
2007-08-06 20:01:45 +00:00
Sebastian Strohhäcker
8224477b9a add flags invalidation by code generation for x86_64
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2944
2007-08-03 15:18:05 +00:00
Peter Veenstra
31dfc5a644 Add mipsel32 to make dist
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2935
2007-07-27 19:30:36 +00:00
Sebastian Strohhäcker
ae6c4effb6 add MIPS32 le backend for the recompiler core (crazyc)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2933
2007-07-27 16:53:31 +00:00
Sebastian Strohhäcker
b6785a6f05 enable flags invalidation for x86_64 backend; update docs
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2932
2007-07-26 19:09:14 +00:00