1
0
Fork 0
Commit graph

455 commits

Author SHA1 Message Date
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
Sebastian Strohhäcker
4c3b15365a fix some logging (see sf patch #1663965)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2931
2007-07-25 21:44:21 +00:00
Sebastian Strohhäcker
60292aed8b move part of flags filling into backend; replace simple-function calls with code if possible
during flags invalidation pass (thanks to crazyc); work around fpu bug (x86_64 only)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2930
2007-07-22 18:48:54 +00:00
Sebastian Strohhäcker
2773ef7adf fix some register backsave (thanks crazyc for noting); skip addr reg saving if possible
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2929
2007-07-21 08:46:50 +00:00
Sebastian Strohhäcker
e5d178a282 fix some undocumented flags settings (thanks to hal for his comparisons);
optimize flags filling in some cases a bit


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2899
2007-06-28 10:53:05 +00:00
Peter Veenstra
116afb95f3 Make virtual Alloc win32 specific instead of visual C specific
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2896
2007-06-27 15:22:55 +00:00
Sebastian Strohhäcker
bc067b8752 minor cleanup
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2887
2007-06-14 17:47:25 +00:00
Peter Veenstra
a5ac3216ba Some more const stuff. Silences a few warnings and removes a few casts. Update description of dss.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2886
2007-06-14 08:23:46 +00:00
Sebastian Strohhäcker
0c24e87fdc silence some warnings, add most of sf patch #1185267 by Moe
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2883
2007-06-12 20:22:09 +00:00