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
ripsaw8080
7acd780244
Add support for M_TANDY16 to GetPixel(). Fixes text and mouse pointer drawing in Tandy graphics modes.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3883
2015-01-06 17:54:58 +00:00
ripsaw8080
5fef7164a5
Coalesce free memory blocks after resizing a block rather than before. Fixes some MicroProse games on the Tandy machine type. Also add error exits in case of a corrupt MCB chain instead of hanging in an infinite loop.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3882
2015-01-06 17:48:07 +00:00
ripsaw8080
58a149deec
Don't count trailing spaces when checking if path is too long. Enable all write planes in the EGA FillRow function. Fixes crash and glitched graphics in Quest Maker 2 and derived adventure games (House of No Doors, Hot Rod Harry, et al).
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3881
2015-01-06 17:33:39 +00:00
ripsaw8080
d2209e10b5
Change the console device to use the DOS default attribute of 7 when ANSI is not active. Fixes glitched text in Space Pilot, and generally improves compatibility of console text output in graphics modes.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3880
2015-01-06 17:16:00 +00:00
ripsaw8080
92ca5488b9
The emulated floppy drive does not use DMA, but make it look like it does when booting. Fixes CGA graphics in the Demon's Forge booter.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3879
2015-01-06 16:51:22 +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
89f844c7b8
Need this quite often.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3877
2015-01-06 14:10:23 +00:00
Peter Veenstra
f06067e101
Add missing error message.
...
Rewrite CDRom to CD-ROM for consistency.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3876
2014-12-12 19:04:40 +00:00
Peter Veenstra
b2a6860032
Reading from NUL changed to report 0 bytes read. Prevents infinite read loops on NUL.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3875
2014-12-12 19:02:37 +00:00
Peter Veenstra
144aa917e3
Small improvement to copy when dealing with a device (fixes a warning from the drive_cache on the findnext).
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3874
2014-12-12 18:59:36 +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
952c48c5cf
This seems to make i686-MinGW-w64 happy. Combination of patch 261 on SF.net and input on IRC
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3872
2014-11-06 18:58:14 +00:00
Peter Veenstra
0bbd0a09ec
Workaround 2 issues, when starting the keymapper with output=opengl,aspect=true on windows.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3871
2014-10-14 14:54:41 +00:00
Peter Veenstra
2077da8e29
Allow the windows and menu keys to be mappable on Linux and Windows.
...
Fixes bug 406 on sf.net and topic 380510 on vogons.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3870
2014-10-14 14:34:48 +00:00
Peter Veenstra
730c2d3cd9
Run with -mno-ms-bitfields if the compiler supports it as the ms-bitfields are turned on by default on some hosts, but they are broken https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3869
2014-06-27 09:02:08 +00:00
ripsaw8080
544c1a2fe5
Illegal memory reads have all bits set. Fixes early (and buggy) shareware versions of Shadow Warrior.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3868
2014-06-19 18:51:42 +00:00
Peter Veenstra
d815845c60
the mapper needs to use the wrapper as well.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3867
2014-06-18 18:49:42 +00:00
Peter Veenstra
56dfdb8f9e
25*14=350
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3866
2014-06-18 15:53:05 +00:00
Peter Veenstra
fb71bc6ca8
Aspect correct text modes as well.
...
I hope I got the ratios right. Let me know if I messed up.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3865
2014-06-18 15:51:02 +00:00
Peter Veenstra
9cbce79ce3
reordering.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3864
2014-06-18 14:52:23 +00:00
Peter Veenstra
01a09d7086
Improve the results of the windowed resolution calculation so that the one off errors are gone.
...
Create a small wrapper function around SDL_SetVideoMode, so that we don't set the same mode twice.
Both changes benefit people who record footage with external recording software and it speeds up mode video mode changes. (especially with aspect=true)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3863
2014-06-18 14:39:49 +00:00
Peter Veenstra
37fac15aea
lower the influence of the aspect table correction trick when using high scale factors (320x200 =>2000x1200)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3862
2014-06-18 14:34:33 +00:00
Peter Veenstra
a59544bf7d
Add Exit conditions for stack over/underflows
...
It's bad to continue when these states happen. Let's see if a game triggers it.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3861
2014-06-18 14:32:40 +00:00
Ralf Grillenberger
bb807af8c7
Use PCJr specific method to clear the video RAM. Also don't scroll at unspecified video page. Fixes issues with KQ1 and KQ2.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3860
2014-06-09 19:07:14 +00:00
Ralf Grillenberger
7f00bd4b34
Implement VGA memory wrapping for the wrapping line also in vgaonly rendering. Fixes black line in Keen.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3859
2014-06-08 00:00:53 +00:00
Peter Veenstra
ee0367653b
stdprn is now really prn and you can't read from it. Fixes a weird runtime that reads the PRN handle.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3858
2014-01-12 13:43:47 +00:00
Peter Veenstra
14ac0f241f
Stop rethrowing the error, as SDL doesn't know what to do with it anyways. Fix a couple of formatting related warnings/errors.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3857
2014-01-12 13:41:01 +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
b54aa7c5ba
TOP is used as 32 bit in dynrec core
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3854
2014-01-12 12:36:13 +00:00
Peter Veenstra
5a3e91643d
Some corrections.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3853
2014-01-05 12:19:25 +00:00
ripsaw8080
a8d8f7818a
There are only 248 default colors in the 256-color mode palette, and the remaining 8 colors are not altered by mode changes. Fixes font and mouse pointer colors in Voyages of Discovery.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3852
2013-12-11 13:59:24 +00:00
Peter Veenstra
3074cbbc59
Let compiler generate offset arithmetic to make fpu-x86 portable to x86_64.(thanks wjp)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3851
2013-12-05 18:56:20 +00:00
ripsaw8080
3b2adeccbf
The SB DMA callback ignores previously selected, but not currently selected, DMA channels. Fixes Visual Player 2 with SB16.
...
Bits 0 and 4 of the SBPro mixer volume registers are always set. Fixes SBPro detection in Wolfenstein 3D, Alone in the Dark (European versions), Visual Player 2, and possibly others.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3850
2013-11-19 13:43:40 +00:00
ripsaw8080
40c32b040c
Add AL value to debugger interrupt breakpoints. Useful for breaking on specific sub-functions, and for function numbers in AX such as the mouse driver INT 33h. Faster breakpoint checking with some redundant conditions removed.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3849
2013-11-17 13:42:33 +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
0d65d2956c
Correct the parameter type for 64 bit.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3847
2013-11-12 21:39:18 +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
a5c6f014cc
Add small delay when raising IRQ, fixes Llamatron 2012 and Lemmings 3D.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3845
2013-11-11 12:59:54 +00:00
Peter Veenstra
91d3bef3dd
Missed a year somehow.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3844
2013-11-11 12:56:19 +00:00
Peter Veenstra
f8bbc2b54d
Strip of leading zeroes from the IP. Thanks Zorix
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3843
2013-11-11 12:54:53 +00:00
Peter Veenstra
2a8cf58b99
Reenable the setting of the %CONFIG% variable when doing a CONFIG -get command (reported in forum)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3842
2013-11-05 22:12:59 +00:00
Peter Veenstra
babf6195f5
make clang happy. Thanks wjp
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3841
2013-11-04 20:49:58 +00:00
Peter Veenstra
5e07c501b6
Add ADDLOG, which adds a message to the logfile. Convenient when debugging and retracing the resulting log afterwards.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3840
2013-10-26 19:27:47 +00:00
ripsaw8080
49875ee505
CD audio status returns zero start and end times when no track is playing. Fixes The Manhole.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3839
2013-10-22 17:40:41 +00:00
Peter Veenstra
ec9de6ff36
Implement mixer /listmidi for coremidi. Thanks for the assistance Dominus
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3838
2013-10-21 20:54:22 +00:00
Peter Veenstra
83ae2b4ff9
Add midi.h to project file
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3837
2013-10-18 11:57:45 +00:00
Peter Veenstra
ffb8cec4d6
Rework ListMidi so it can be more easily added to more backends.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3836
2013-10-18 11:55:02 +00:00
Peter Veenstra
3701512a16
Rework ListMidi so it can be more easily added to more backends.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3835
2013-10-18 11:53:11 +00:00