1
0
Fork 0
Commit graph

359 commits

Author SHA1 Message Date
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
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
Sjoerd van der Berg
734c9856e1 New callback_setupat call
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2472
2006-02-03 17:07:41 +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
Sjoerd van der Berg
c739745151 New pagehandler option for different read and write pointers
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2439
2006-01-30 09:47:04 +00:00
Sebastian Strohhäcker
e24298c28a dynamic core: add memory checking stack functions (Descent1),
move rarely executed blocks to end of cacheblock


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2435
2006-01-26 21:07:17 +00:00
Sebastian Strohhäcker
f47287f59c dynamic core: prevent double memory access on smc,
handle 16bit-underflow of stack (fixes Privateer)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2432
2006-01-20 21:27:03 +00:00
Sebastian Strohhäcker
931561bf3b handle modification of the running dynamic core code block
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2430
2006-01-17 20:29:50 +00:00
Sebastian Strohhäcker
c325a806e2 reduce size of exception-check code in the dynamic core
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2429
2006-01-13 17:29:11 +00:00
Sebastian Strohhäcker
17ea37fe89 add pagefault checking memory functions to the dynamic core
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2424
2006-01-07 14:17:53 +00:00
Peter Veenstra
60be22c0ed Fix some endian issues
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2419
2005-12-20 08:56:16 +00:00
Sebastian Strohhäcker
561579365e display exit reason for IllegalOption()
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2369
2005-11-06 19:42:58 +00:00
Sebastian Strohhäcker
2233eb6662 correct trap-flag handling in rep_movs instructions (fixes J-Bird booter);
handle reading of zero sectors through int13 correctly (fixes Metropolis booter)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2367
2005-11-04 21:22:06 +00:00
Sebastian Strohhäcker
06d4ae4b3b fix dynamic core div/idiv (Aces over Europe intro)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2332
2005-10-01 15:26:32 +00:00
Peter Veenstra
d8d805b2ce fix tiny memleak with restarting sections when dealing with callbacks
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2304
2005-09-08 13:09:47 +00:00
Sebastian Strohhäcker
702a19d47f fix GCC-compiling
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2301
2005-09-04 13:42:01 +00:00
Sebastian Strohhäcker
06135e8beb dynamic core optimizations;
incorporate patch from esaelon, parts of ih8regs optimizations;
thanks to kekko for several ideas


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2300
2005-09-03 19:20:08 +00:00
Peter Veenstra
47cde6a97e Added patch 1154355 from Thomas Weidner. Marks memory executable in the dynamic core under 64 bits linux
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2277
2005-08-18 10:51:57 +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
Peter Veenstra
f9e7488309 Fix a warning
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2270
2005-08-10 20:33:46 +00:00
Peter Veenstra
b4fb1af8a2 added function to only allocate a callback.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2253
2005-07-30 09:49:29 +00:00
Sebastian Strohhäcker
56a46702a8 correcting page fault condition for unprivileged access
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2237
2005-07-13 21:07:00 +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
f3ef0ec55c Fix some weird crashes. not real fix. more a workaround to prevent the crash(1201519)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2222
2005-06-22 19:41:36 +00:00
Peter Veenstra
c2eef4eac8 fix annoying log message
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2209
2005-05-15 20:16:47 +00:00
Peter Veenstra
8014ff9044 fix type bug in movxz (thanks wd)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2208
2005-05-04 19:50:32 +00:00
Peter Veenstra
2146cae4ef release eax when fstsw is called
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2199
2005-04-28 18:54:25 +00:00
Peter Veenstra
2d4f6f39b7 disable fpu if not defined (coredynamic)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2198
2005-04-27 21:24:14 +00:00
Sjoerd van der Berg
93a94c5b04 Fix a bug with eip being set with wrong size on block ending
Add linking to fpu opcodes in fpu emulator


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2196
2005-04-27 19:57:37 +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
77f14da8f0 added patch 1174832 by moe. lock and xadd in corefull/normal/simple
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2178
2005-04-19 08:28:41 +00:00
Peter Veenstra
a17faf3c49 idiv and friends shouldn't touch registers if an overflow occurs. (Thanks wd!)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2175
2005-04-15 14:20:42 +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
5a3f4fb38d jumpwise optimalisations
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2155
2005-03-25 10:12:05 +00:00
Peter Veenstra
874cb31df2 New callback class to handle callbacks
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2144
2005-03-25 08:40:42 +00:00