1
0
Fork 0
Commit graph

399 commits

Author SHA1 Message Date
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
Sebastian Strohhäcker
26bc8da23d favoured use of old simple core; default to automatic core selection;
some processor usage limiting capabilities for max cycles


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2721
2006-11-14 14:12:00 +00:00
Sebastian Strohhäcker
32e3a625d4 remove logging
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2720
2006-11-11 14:42:38 +00:00
Peter Veenstra
ded957188a Add Beta1 patch: "Add very basic Clipper support." by wd.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2712
2006-10-27 12:01:52 +00:00
Sebastian Strohhäcker
0e087c2f57 add dyn_fpu_dh.h
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2709
2006-10-13 17:42:48 +00:00
Sebastian Strohhäcker
3cb1e884bd utilize host fpu directly (dynamic core)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2707
2006-10-12 15:18:32 +00:00
Sebastian Strohhäcker
6448f2a398 adapt dynamic core for OSX (adhere to 16 byte stack alignment, move link blocks to dynamic memory);
thanks to Mark Laws for his help and information


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2704
2006-10-04 19:24:52 +00:00
Sebastian Strohhäcker
d5376a59f9 fix two bugs in the dyn_fpu generated code (thanks to Folken for reporting them)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2701
2006-09-19 16:27:58 +00:00
Sebastian Strohhäcker
bd65320c7e add TRx handling opcodes (fixes JetFighter2, thanks to vasyl)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2700
2006-09-17 13:38:30 +00:00
Peter Veenstra
acce481653 Fix bug 1542808 (BaK doesn't work on AMD 64). Apply patch 1555327 (A few less warnings) by Guido de Jong.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2699
2006-09-14 18:46:48 +00:00
Sebastian Strohhäcker
941cca12b9 fix fast console output code (evo)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2695
2006-09-01 17:34:36 +00:00
Sebastian Strohhäcker
6215071ebc change callback code; get rid of several calls to DOSBOX_RunMachine()
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2677
2006-07-24 19:06:55 +00:00
Sebastian Strohhäcker
a2c6e8305a merge AAM-fixes
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2673
2006-07-19 10:30:29 +00:00
Sebastian Strohhäcker
58561958ff fix AAM instruction
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2671
2006-07-15 20:41:42 +00:00
Sebastian Strohhäcker
8dd057d52e add automatic core selection;
switch back to default cycles/core on program exit


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2663
2006-06-29 09:10:10 +00:00
Sebastian Strohhäcker
97470261fb tweak size of auto-cycle interval (ih8regs);
switch to auto-cycle guessing if appropriate


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2660
2006-06-25 18:49:32 +00:00
Sebastian Strohhäcker
e3fe68c847 fix some trapflag bugs, add partial trapflag handling to the dynamic core
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2655
2006-06-20 17:14:04 +00:00
Peter Veenstra
27225d6602 Silence a warning.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2650
2006-06-12 08:07:39 +00:00
Sebastian Strohhäcker
af5bb6abf3 fix bug in dyncore for STD/CLD+STI/CLI opcode combination (f15/f22 et al)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2648
2006-06-10 10:50:01 +00:00
Sebastian Strohhäcker
c0eb7704fc fix a few auxiliar flag bugs
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2646
2006-06-02 16:44:46 +00:00
Sebastian Strohhäcker
624686304e add/remove dynfpu/fpu support files
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2645
2006-06-01 15:45:37 +00:00
Sebastian Strohhäcker
3500ea88eb remove more fpu exception flags and refine fpu statusword updates;
add a more direct calling of fpu functions (dynamic core, thanks to kekko!);
avoid temporary storing of fpu values for eatree functions (x86 fpu only)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2644
2006-06-01 08:33:52 +00:00
Sebastian Strohhäcker
458d7e5dee check io permission for dyncore port access
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2621
2006-05-01 19:34:41 +00:00
Sebastian Strohhäcker
19955c36e8 use inverted stack mask in normal/full core;
issue exception when calling type zero descriptor;
add INVLPG opcode


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2617
2006-04-27 13:22:27 +00:00
Sebastian Strohhäcker
eedd8cc98c directly handle some page faults of MakeCodePage
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2616
2006-04-26 14:35:55 +00:00
Sebastian Strohhäcker
1d89346c16 move callbacks into read-only memory (Pinball/Adventure construction kit booters)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2612
2006-04-22 15:25:45 +00:00
Sebastian Strohhäcker
2ae27a0bb9 precalculate inverted stack mask; improve dynamic core stack functions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2606
2006-04-18 17:44:25 +00:00
Peter Veenstra
20530fa725 A few flag fixes by c2woody.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2595
2006-04-14 07:03:47 +00:00
Peter Veenstra
132bbffb68 Add part of patch 1235377 of msharov and fix a few small bugs in the return values of the cpu cores
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2593
2006-04-11 19:02:33 +00:00