1
0
Fork 0
Commit graph

494 commits

Author SHA1 Message Date
Peter Veenstra
7d0d5bd95c Make newer GCCs happy
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3690
2011-03-29 12:44:15 +00:00
Peter Veenstra
b986ab88f7 forgot one.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3685
2011-03-06 17:20:32 +00:00
Peter Veenstra
d97aade01a Keep proper track of halted cycles. h-a-l-9000 and ripsaw. Improves MPXPLAY
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3683
2011-03-06 16:29:19 +00:00
Sebastian Strohhäcker
83b41ea628 normal core IN AX,Ib should use full 16bit target register (thanks to danoon for spotting this)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3680
2011-03-04 15:54:11 +00:00
Sebastian Strohhäcker
fe65a34111 update 64bit recompiler core to handle OSX (memory addressing, stack alignment) from gulikoza
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3674
2011-01-22 16:15:34 +00:00
Sebastian Strohhäcker
2a8b0b397f fix dimul flags calculation for corner cases (thanks to bavi)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3649
2010-10-09 13:49:48 +00:00
Peter Veenstra
db66fef419 Extend int29 to include page and colour. Thanks for your input ripsaw8080. Change removesetup to remove the right amount of bytes.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3620
2010-07-10 11:36:39 +00:00
Peter Veenstra
328b21c2e0 Limit message to once per session.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3606
2010-05-12 08:11:37 +00:00
Peter Veenstra
3bc49c24e2 More pretty pretty.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3594
2010-05-05 19:22:33 +00:00
Peter Veenstra
1157cbe2a0 Make it a bit more pretty.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3593
2010-05-05 19:12:51 +00:00
Peter Veenstra
3f17468a1f Allow cpu percentage used to be 105%, (which is in reality (90*105)%). Some more descriptive LOG_MSG when changing the cycles. (rc3 changes)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3592
2010-05-04 14:49:08 +00:00
Peter Veenstra
cc6785acea Add basic delay to a few dos games to improve their timing. TSR use global psp. (rc3 changes)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3589
2010-05-02 07:16:15 +00:00
Peter Veenstra
a78b2c4f8b Update year
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3548
2010-02-11 13:36:50 +00:00
Ralf Grillenberger
4c7f6b87f3 Initialize cyclesleft variable so events can start at emulation time 0.0. Patch by Qbix
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3512
2009-12-02 21:11:03 +00:00
Sjoerd van der Berg
072ddbe083 Add correct 16bit BSWAP behavior in the interpreting cores
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3498
2009-11-10 19:52:58 +00:00
Sebastian Strohhäcker
8e761077e1 handle opcode 0xff subcode 7 as invalid instruction, fixes dif-2 and others
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3484
2009-10-18 17:52:10 +00:00
Sebastian Strohhäcker
c11bc7e1ef recompiler speedups (M-HT)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3478
2009-10-08 20:01:31 +00:00
Sebastian Strohhäcker
9de271f04a re: cmpxchg (comment added)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3470
2009-09-25 20:47:15 +00:00
Peter Veenstra
5ce390285d add some more cmpxchg stuff. Normal core. with question comment ;)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3469
2009-09-25 19:20:46 +00:00
Sebastian Strohhäcker
d04f128aae add undocumented ffreep fpu instruction to the recompilers (thanks to ripsaw for figuring this out; fixes Trucks)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3468
2009-09-23 20:55:19 +00:00
Sebastian Strohhäcker
decb3823d2 int13 unconditionally enables the interrupt flag on return (ripsaw, fixes some pirates booter version);
change the set/clear flag for callback return functions a bit (hal)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3458
2009-08-23 17:24:54 +00:00
Sebastian Strohhäcker
21612af820 some big-endian fix for the recompiling core (emulated register access)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3455
2009-08-02 16:52:33 +00:00
Peter Veenstra
76794c051e Fix compilation
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3449
2009-07-22 09:09:35 +00:00
Sebastian Strohhäcker
c1305f8dda check for pic irq events after emulated iret instruction for the recompiler
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3448
2009-07-20 17:55:52 +00:00
Sebastian Strohhäcker
4b15cbd0a1 prevent write-through for recompiler code pages in rom area (pitfall2 pcjr booter)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3445
2009-07-12 20:13:05 +00:00
Sebastian Strohhäcker
eb9633a6e4 optimizations for the recompiler arm backend (M-HT)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3435
2009-06-27 12:51:10 +00:00
Sebastian Strohhäcker
bf3652563b prevent excessive inlining in prefetching core
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3434
2009-06-26 16:43:30 +00:00
Sebastian Strohhäcker
8213b3da0e fix operator/return value aliasing in special case for arm recompiler backend (M-HT)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3433
2009-06-25 19:31:43 +00:00
Sebastian Strohhäcker
58ce4315f8 move callback default segment to bios standard;
use fixed default offset for irq0 as well (ripsaw, fixes tinker tales)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3423
2009-06-11 16:05:17 +00:00
Peter Veenstra
16d14b78e1 Some year and version numbers
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3410
2009-05-27 09:15:42 +00:00
Sebastian Strohhäcker
79de511c0e update recompiler arm backend (M-HT)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3393
2009-05-16 21:52:47 +00:00
Peter Veenstra
d8c2179a83 Fix some warning and compilation on VS2003.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3334
2009-03-29 17:32:20 +00:00
Sebastian Strohhäcker
6fee7ccb03 immediately check for irq line activation when popf enables the interrupt flag (fixes star quest 1, thanks to ripsaw for finding this)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3331
2009-03-27 18:10:35 +00:00
Sebastian Strohhäcker
44fd168a61 adjust debug checking for int/call functions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3321
2009-03-16 18:10:08 +00:00
Sebastian Strohhäcker
8fa4a2d43a clear direction flag when entering ps2 irq routine (needed when irq happens if direction flag is set and the
user subroutine assumes DF to be clear), thanks to ripsaw for figuring this out


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3313
2009-03-03 18:30:41 +00:00
Peter Veenstra
5d7701ef67 Add cycles=number support. Based on patch of h-a-l-9000, but slightly better. Beautify the configfile a bit.(Beta2)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3304
2009-02-15 20:01:08 +00:00
Peter Veenstra
c90ebb3028 Header updates.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3289
2009-02-01 14:24:38 +00:00
Sebastian Strohhäcker
a6d6dce331 have irq6 use a different default handler to work around a bug in a game (thanks to ripsaw, should fix design your own railroad)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3263
2009-01-18 13:57:45 +00:00
Peter Veenstra
f47d48ba07 Start stuff with an REFT instead of IRET. Fixes CyberRace.(Beta 2)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3260
2009-01-14 22:16:00 +00:00
Sebastian Strohhäcker
8b56a6db1f fake page dirtying in some cases for memory reads if later writes can not be caught
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3242
2008-12-04 21:09:32 +00:00
Sebastian Strohhäcker
02cafbb3f0 adjust cycles for short-running string loops (thanks to ripsaw for pointing this out); fixes some gunship2000 flaws
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3229
2008-10-09 20:37:08 +00:00
Sebastian Strohhäcker
353b1c9011 keep it compiling
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3221
2008-09-19 20:18:21 +00:00
Sebastian Strohhäcker
298034bec7 ability to cache register/segment register pointer in host register for the recompiler (M-HT, implemented for arm backends)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3220
2008-09-19 16:48:03 +00:00
Sebastian Strohhäcker
dce428ac54 armv4le backend update (M-HT), adds distance data pool for thumb emitter
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3215
2008-09-02 20:44:41 +00:00
Peter Veenstra
cbdb5b97fe Change logging message to always display things in twofault.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3211
2008-08-27 16:21:30 +00:00
Sebastian Strohhäcker
6bc0cb78a1 add INVLPG to recompiler (Cavewars)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3208
2008-08-23 16:36:21 +00:00
Sebastian Strohhäcker
021c76f6d9 add arm4 dynamic recompiler backend (M-HT)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3206
2008-08-20 14:13:21 +00:00
Peter Veenstra
6640a3e6f0 Fix ROR byte flag calculations. (thank you h-a-l-9000 for your help in determing which instruction was broken)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3205
2008-08-19 13:59:24 +00:00
Sebastian Strohhäcker
c78a9f6c03 fix/work around some gcc Wall warnings
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3192
2008-08-06 18:34:21 +00:00
Sebastian Strohhäcker
24bb7de36c add prefetch queue emulation
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3158
2008-05-21 21:29:32 +00:00