1
0
Fork 0
Commit graph

439 commits

Author SHA1 Message Date
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
Sebastian Strohhäcker
24eba30d23 enable full execution privileges for the dynamic core cache (windows DEP);
raise generated data per block overflow buffer a bit


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2879
2007-06-09 17:57:28 +00:00
Sebastian Strohhäcker
b20606dee1 add calling convention modifier to all drc backends
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2871
2007-06-04 16:43:05 +00:00
Peter Veenstra
b8920454e4 Fix compilation of dynrec core on 32 bit linux
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2870
2007-06-03 18:07:54 +00:00
Sebastian Strohhäcker
7859569c6d add mouse driver backdoor entry point (enables mouse in Last half of Darkness, PC-BLOX)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2869
2007-06-03 16:46:33 +00:00
Sebastian Strohhäcker
f65e8e5f09 add recompiling core that uses highlevel function calls
and the existing lazyflags system for better portability;
thanks to gulikoza for the x86_64 backend


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2865
2007-06-02 11:47:06 +00:00
Sebastian Strohhäcker
43de744e01 move some FillFlags calls into their respective cpu function;
change some cpu functions to directly return values


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2864
2007-06-01 16:40:40 +00:00
Sebastian Strohhäcker
eb90bbf252 always check for pushf/popf exception in the dynamic core (prevents discrepancy if instruction is executed in realmode and v86)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2850
2007-05-02 16:32:34 +00:00
Sebastian Strohhäcker
d8f68648d1 precise pagefault address for block starts;
fix upper part of eip content for certain  instructions
in real/v86 mode (dynamic core; fixes Inner Worlds)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2836
2007-04-14 14:08:51 +00:00
Sebastian Strohhäcker
9afe1037a7 correct range invalidation start index (dynamic core, fixes Archimedean Dynasty)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2835
2007-04-14 13:11:48 +00:00
Sebastian Strohhäcker
2147dc647b issue an exception for some invalid selector type on pmode CALL instead of exiting (vbdos)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2834
2007-04-14 11:16:29 +00:00
Sebastian Strohhäcker
2d4ce67ff8 fix dc blocklength
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2827
2007-02-26 16:59:16 +00:00
Peter Veenstra
34ccfaec46 Add writemap. Fixes stonekeep in dynamic core.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2818
2007-02-22 08:45:14 +00:00
Peter Veenstra
12222e680b No need to use new here (memleak)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2811
2007-02-22 08:35:34 +00:00
Peter Veenstra
0bf5025fea iodelay aware cycle adjustment code.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2802
2007-02-04 11:10:22 +00:00
Sebastian Strohhäcker
2b577443e0 avoid selfpage removal for crossblocks when codepages run out
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2794
2007-02-02 17:23:14 +00:00
Sebastian Strohhäcker
667c756775 enhance cycles config variable a bit
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2780
2007-01-21 18:14:52 +00:00