1
0
Fork 0
Commit graph

4074 commits

Author SHA1 Message Date
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
Peter Veenstra
04d3d4db69 typos and warnings
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3834
2013-10-18 11:48:01 +00:00
Ralf Grillenberger
18a0eb0190 Fix Hexsider display in Hercules mode. The game changes the CRTC base address to scroll in the buffer. Reported by VileRancour.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3833
2013-06-16 20:46:36 +00:00
Ralf Grillenberger
56d19f4f8d By implementing Tandy special handling of the palette:
- fix Starflight background color (reported by HunterZ)
- keep Pirates! map background correct

Also fix the palette after mode switch on the PCJr. Fixes Frogger II composite mode color attributes (reported by VileRancour).


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3832
2013-06-16 20:42:27 +00:00
ripsaw8080
f6864ba395 Initialize last byte of command tail.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3831
2013-05-26 01:03:33 +00:00
Peter Veenstra
8e017c87c3 Workaround for using (windows) directories insides cue files on Linux.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3830
2013-05-21 18:15:15 +00:00
Peter Veenstra
c041f14071 Fix bug 391 by relaxing the SET /P check.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3829
2013-05-09 14:07:04 +00:00
Peter Veenstra
ebe309d513 Fix an out of bounds write error. Some more protection when reading in data and finally fix a few type casts warnings.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3828
2013-05-09 14:05:39 +00:00
Peter Veenstra
8582cfb2e9 Extend fullresolution=0x0 to more OSes. Tested on Windows, Linux and Mac OS X. Thanks for the hint about SDL_GetVideoInfo ny00123
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3827
2013-03-25 20:07:42 +00:00
Peter Veenstra
4344bb1984 Silence some warnings in the misc directory
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3826
2013-03-24 21:12:43 +00:00
Peter Veenstra
ca660c0cbf Use uppercase characters for ScanCMDBool. Explicitly disallow Set/P
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3825
2013-03-20 14:38:53 +00:00
Peter Veenstra
2cd140bed2 Replace NV_PixelDataRange with ARB_PixelBufferObject extension. Thanks gulikoza
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3824
2013-03-18 19:52:41 +00:00
Peter Veenstra
6005315b20 Uniform warning message
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3823
2013-03-18 12:35:53 +00:00
Peter Veenstra
ffd5cf861e Enable interupts after running INT 25 and 26, fixes Eol-ui Moheom installer (ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3822
2013-03-18 12:34:13 +00:00
Peter Veenstra
15c1bb607f Refinements of an earlier fix. Thanks ripsaw
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3821
2013-03-11 08:20:39 +00:00
Peter Veenstra
28fe87edce Make system handler 24 pages, Fixes Mega Blast and maybe others. Thanks ripsaw
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3820
2013-02-28 10:30:26 +00:00
Peter Veenstra
16696af9b6 A cdrom has always 65535 clusters on a drive. Fixes regression with titus CD with mount, fixes usage with an image as well.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3819
2013-02-26 20:22:15 +00:00
Peter Veenstra
967524cd76 Clean up
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3818
2013-02-14 15:00:55 +00:00
Peter Veenstra
d60d8b8995 Add int 33 0x2a for speed manager 96. (ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3817
2013-02-09 21:11:32 +00:00
Peter Veenstra
68317303e6 max cycles code now uses averaging as well when stepping down
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3816
2013-02-07 19:25:58 +00:00
Ralf Grillenberger
2c8adb2660 Use current address instead of (current page * page size) for the scroll window base. This is the implementation in S3 and IBM VGA. Tseng BIOSes have the previous, incompatible implementation. Fixes an advertisement program and possibly others I don't remember. Patch by ripsaw.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3815
2013-01-27 18:27:36 +00:00