1
0
Fork 0
Commit graph

427 commits

Author SHA1 Message Date
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
Peter Veenstra
1780e72528 Fix a few warnings.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2774
2007-01-21 14:10:14 +00:00
Sebastian Strohhäcker
76f1d11252 avoid code invalidation on certain types of self modification and adjust cache sizes (dynamic core);
add partial memory function inlining for dynamic core memory access; remove a float div in the pic


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2769
2007-01-18 14:57:59 +00:00
Sebastian Strohhäcker
6296e3fff4 remove some debugging aid in non-debug mode
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2768
2007-01-18 14:29:48 +00:00
Peter Veenstra
85af8429ac Add beta2 patch: nullmodem and serial update. Add some more configure tests for OS/2 and Mac OS X
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2758
2007-01-13 08:35:49 +00:00
Sebastian Strohhäcker
872b63bb49 swap simple/normal core again; have some stack exception executed instead of exiting dosbox
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2752
2007-01-11 16:31:10 +00:00
Sebastian Strohhäcker
293fc7679f keep OSX gcc happy
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2749
2007-01-10 21:41:00 +00:00
Sebastian Strohhäcker
4b6d005406 Add beta2 patch: merge in old trap skip logic again; give trap priority over hw interrupts
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2741
2007-01-09 17:18:52 +00:00
Sebastian Strohhäcker
0cca0c96cf enable instant irq checking after STI for the dynamic core
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2735
2007-01-08 21:29:27 +00:00
Sebastian Strohhäcker
c773dded4b better workaround for clipper programs (doesn't break wc3)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2732
2007-01-08 20:58:47 +00:00
Peter Veenstra
fdd16dea1a Happy New Year\!
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2728
2007-01-08 19:45:42 +00:00
Sebastian Strohhäcker
ed121c32e1 start with better max cycles value when autoswitching to cycles=max (thanks gulikoza)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2726
2006-12-04 15:49:01 +00:00
Peter Veenstra
d197ac5ee8 Fix ACAD R11. SaveSelector after modifying the setbusy bit
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2725
2006-12-01 20:48:53 +00:00