1
0
Fork 0
Commit graph

527 commits

Author SHA1 Message Date
Peter Veenstra
df166ff0a4 As we zero out the memory on startup for a long time now. This should not exit anymore. Leaving the warning for now.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4026
2017-08-06 14:21:03 +00:00
Peter Veenstra
6cf39c1fc6 Years update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4021
2017-05-30 11:35:08 +00:00
ripsaw8080
d6e983b08d Handle errant IRQs as a real BIOS does. Fixes Tandy DAC in Chuck Yeager's Air Combat. Also remove r3263 workaround, as it's no longer needed.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4009
2017-05-01 15:32:29 +00:00
Peter Veenstra
397e38a73a Improve readability of auto cycles information bit.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3997
2016-09-20 14:59:06 +00:00
Peter Veenstra
d94dc4834e zero extend data, fixes LLVM compile where the called function does not extend the parameters. Thanks guiikoza. Fixes at least vesatest.exe of lsl7
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3990
2016-07-23 20:31:25 +00:00
ripsaw8080
26dd1635b5 Add support for Print Screen key and interrupt. The keypress allows Descent 1 and 2 ingame screenshot feature to be used, the keypress and interrupt allow the Horror Hotel (TSR text adventure) hotkey to work, and the compatible interrupt handler location fixes a game bug in The Forgotten Land.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3961
2016-02-05 13:41:22 +00:00
Peter Veenstra
2c554e48dd Apply patch by gulikoza to add support for absolute 64 addresssing.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3951
2015-11-02 18:09:06 +00:00
Peter Veenstra
0b568ebbd0 correct typo in the includeguards
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3901
2015-02-24 13:54:43 +00:00
Peter Veenstra
f9c67101c7 Workaround clang confusing itself (compile error), results in a small speed up in general (thanks for helping wjp). clang compiled x64 dynrec core appears to be unstable though. (-O0 seems to help)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3894
2015-01-21 20:50:40 +00:00
Peter Veenstra
85c11c6fef Add C_DEBUG checks around C_HEAVY_DEBUG, so you can leave C_HEAVY_DEBUG defined.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3893
2015-01-14 12:31:01 +00:00
ripsaw8080
1acc1a459a Improve compatibility of the PCjr keyboard NMI handler by setting DS to the BIOS data segment before calling INT 9. Fixes crashes in Shamus on the PCjr machine type.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3884
2015-01-06 18:02:28 +00:00
Peter Veenstra
0f4c92ca32 Year update.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3878
2015-01-06 14:40:32 +00:00
Peter Veenstra
767a95380b mirror cache handling with dynrec core with allocation stuff for 64 bit things
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3873
2014-11-21 09:38:36 +00:00
Peter Veenstra
7c25fb4684 reg_eip is 32 bit(jmarsh)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3856
2014-01-12 12:54:58 +00:00
Peter Veenstra
3ddbfe949a fpu.sw is 16 bit(jmarsh)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3855
2014-01-12 12:38:31 +00:00
Peter Veenstra
625dcb3c28 Cast it to a variable that has the same size as a pointer (64 bit)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3848
2013-11-12 21:43:23 +00:00
Peter Veenstra
80df53942c Update Arm dynrec core. Most important change: use ARMv7 instructions. Thanks a lot M-HT
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3846
2013-11-11 13:25:50 +00:00
Peter Veenstra
2fea508f7f Year update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3812
2013-01-15 09:03:13 +00:00
Peter Veenstra
82f2c0b442 Add INSD
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3785
2012-07-21 18:22:17 +00:00
Peter Veenstra
498e583251 Model irq 0 stack layout in a more compatible way. Fixes M.U.L.E. booter. (ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3781
2012-06-08 14:23:55 +00:00
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