1
0
Fork 0
Commit graph

507 commits

Author SHA1 Message Date
Peter Veenstra
fc1ffcc528 Some typo corrections of the comments. (jomalin)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3763
2011-11-29 16:45:45 +00:00
Peter Veenstra
5892095301 Include stddef for offsetof here as well instead of relying on dos_inc.h through programs.h.cpu.cpp
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3759
2011-11-20 17:32:09 +00:00
Sebastian Strohhäcker
eb395f5add small recompiler fixes (missing host fpu usage check; assembler output update) and enhancements
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3752
2011-09-07 18:43:03 +00:00
Peter Veenstra
6dfe1d9dcf Call int 0xe when resetting a disk. Fixes a keydisk workaround algorithm. (thanks ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3751
2011-09-01 12:19:52 +00:00
Peter Veenstra
ee982d5754 Use a fixed cycle rate in auto cycles mode when calculating RDTSC. Improves Tie break Tennis 98
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3748
2011-08-30 13:15:36 +00:00
Sebastian Strohhäcker
df67bd2afb fix manual uninstall functions for callback/io-handler objects; cleanup
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3725
2011-06-19 13:21:11 +00:00
Sebastian Strohhäcker
f1d85a3739 add manual uninstall functions for callback/io-handler objects
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3721
2011-06-17 14:28:00 +00:00
Peter Veenstra
de75bc83f6 Enforce call order of the functions used in the bitshift. Fixes visual C /O2 builds. Thanks h-a-l-9000 and wjp.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3718
2011-06-12 13:56:44 +00:00
Sebastian Strohhäcker
bf8496c092 cr0 always signals 386-type FPU present for 486+ target architectures (fixes Biing cdrom version)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3710
2011-05-10 18:00:03 +00:00
Sebastian Strohhäcker
1bf90c16c2 add rdtsc instruction to full core as well for consistency
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3709
2011-05-09 16:19:24 +00:00
Peter Veenstra
999f33de27 Update year. Remove CVS tags
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3700
2011-04-26 09:34:55 +00:00
Sebastian Strohhäcker
81d9c369aa AC flag toggling depends on emulated CPU type (486+)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3697
2011-04-19 20:38:42 +00:00
Peter Veenstra
f214d70367 Update CALLBACK_Idle to use the callback offset. Fixes memory corruption.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3694
2011-04-16 12:23:57 +00:00
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