1
0
Fork 0
Commit graph

111 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
1859bf4f5d fix typo.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2522
2006-02-26 16:11:00 +00:00
Peter Veenstra
4ab4344906 Make cycles=auto look more beautiful ;)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2504
2006-02-14 13:04:02 +00:00
Sjoerd van der Berg
4a0acfb45a New format for mapper handlers to support keeping keys pressed.
Add unlocked speed hotkey
Add some sort of auto cycle guessing


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2490
2006-02-12 23:28:21 +00:00
Peter Veenstra
df67775306 time passes on and on....
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2480
2006-02-09 11:47:57 +00:00
Peter Veenstra
b33bfb80d9 Add a larger cache. Allocated when the dynamic core is selected.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2461
2006-01-30 14:01:52 +00:00
Sebastian Strohhäcker
4fd29f7d49 remove logging output
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2276
2005-08-15 14:17:20 +00:00
Sebastian Strohhäcker
b48eceebe7 cpu updates (privileged instructions, trapflag handling)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2275
2005-08-15 13:43:44 +00:00
Sebastian Strohhäcker
7ab3a9f466 crX-exceptions for full core
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2233
2005-07-09 13:07:48 +00:00
Sebastian Strohhäcker
0e0f294202 better compatibility while in v86-mode (Strike Commander etc.)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2228
2005-07-04 20:20:19 +00:00
Peter Veenstra
b34f94ecc6 changed exit for invalid privilegdes when setting a segment to an exception. Fixes Extreme pinball. (Thanks wd)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2193
2005-04-25 19:01:11 +00:00
Peter Veenstra
baac15a8da negative cycles not allowed
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2186
2005-04-21 19:12:47 +00:00
Peter Veenstra
3b4e696309 new configuration layer. Cpu can change cores and other settings
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2159
2005-03-25 11:45:37 +00:00
Peter Veenstra
a05b1da479 Small changes in the taskswitching code (wd)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2112
2005-02-21 15:36:14 +00:00
Peter Veenstra
2094d8b985 Year update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2106
2005-02-10 10:21:12 +00:00
Peter Veenstra
31cbdda460 Added exception for earth siege 1
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2101
2005-01-24 23:11:19 +00:00
Peter Veenstra
a836014e11 Added exception for win3.x installer(wd/mirek)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2100
2005-01-22 22:43:30 +00:00
Peter Veenstra
2e2f007ec2 Huge exceptions addition by wd. Fixes a lot of the segment missing errors with dos4gw. Changed the defaults a bit (IGNORE by default and regular checking in debug mode)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2098
2005-01-18 12:50:06 +00:00
Peter Veenstra
36cc519170 Changed priority of some messages (Requested by Mirek)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2093
2004-12-28 16:11:54 +00:00