Sjoerd van der Berg
271d8cffa6
Updated header for mixer changes
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4003
2017-01-04 08:35:10 +00:00
Sjoerd van der Berg
a60b983712
Rewrite some mixing code to fix issue with equal rates having aliasing issues
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4002
2017-01-03 21:36:37 +00:00
Sjoerd van der Berg
22fff83790
Rewrite gus emulation a bit to make things a bit clearer
...
Remove the automatic amplification
Slight rounding offset in the panning tables to match original gus tables
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4001
2017-01-03 21:32:31 +00:00
ripsaw8080
7cd00b3d84
Implement an obscure behavior of the VGA DAC, similar to what was done for Star Control 2. Fixes wrong colors in Planet Soccer/Football.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4000
2016-10-03 09:49:59 +00:00
Peter Veenstra
a3345eed24
Spaces in LOG_MSG and some at the end of the line.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3999
2016-10-02 14:12:32 +00:00
Sjoerd van der Berg
b9b9e2c7d1
Fix some issues with debugger after last patch
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3998
2016-09-21 18:11:04 +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
07f461da7e
Clip to boundaries when there are no suggested values for Prop_int. Revert r3986 as this commit fixes the problem in a different way.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3996
2016-09-20 14:57:46 +00:00
ripsaw8080
cadf69ac32
Fix debugger "running" status message when resuming emulation with F5.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3995
2016-09-08 15:37:59 +00:00
Sjoerd van der Berg
eefd825fa1
Add wjp's improved breakpoint handling to the debugger
...
Rewrite the order of the debug help list so the keys come last
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3994
2016-09-07 20:35:10 +00:00
Sjoerd van der Berg
169ca61f9e
fix for 256 color encoding in zmbv.dll codec patch by Avery Lee
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3993
2016-09-04 19:04:02 +00:00
Sjoerd van der Berg
4c4f232473
XGA_DrawLineBresenham() does not properly sign extend values
...
https://sourceforge.net/p/dosbox/patches/269/ patch by Tom B
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3992
2016-09-04 18:47:39 +00:00
Peter Veenstra
5e4b1c8284
Raise lower limit of cycles in autodetermine mode to improve stability. (lsl7)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3991
2016-08-10 12:07:43 +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
Peter Veenstra
9dc8581f4a
Change name of the pause DOSBox key to avoid confusion.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3989
2016-06-24 21:21:36 +00:00
ripsaw8080
2b837cf6fb
Correct stack pointer for COM format programs when there is less than 64K of memory available. Fixes Corncob 3D issue reported in bug #443 .
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3988
2016-06-22 16:29:13 +00:00
ripsaw8080
c898d14351
Correct page count/size for CGA graphics modes. Fixes RS-2 on the CGA machine type.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3987
2016-06-22 16:24:16 +00:00
Peter Veenstra
7cda75c855
Allow 64 as input value, so it gets translated to 63 mb, instead of 16 as it currently does, to provide compatibility with 0.74 setups.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3986
2016-05-30 11:59:21 +00:00
ripsaw8080
96e805369a
Fix the debug launcher internal program's tendency to cause crashes.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3985
2016-05-23 11:39:01 +00:00
ripsaw8080
8fc782f561
Make the internal program for loading ROM images a bit smarter about what it can/will load. Also provide for BASIC in ROM to support IBM BASIC interpreters.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3984
2016-05-23 11:37:39 +00:00
ripsaw8080
64a04b9985
Be more compatible by converting tabs to spaces in the DOS console device rather than in the video BIOS teletype function.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3983
2016-05-23 11:33:09 +00:00
Peter Veenstra
9fc2c31a97
Support writing palette register data to dynamic save area if pointer is non-zero on mode changes. Fixes CV 2.2 (thanks for the help ripsaw)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3982
2016-05-10 14:38:39 +00:00
Peter Veenstra
36f12b5670
Fix restarting when in folder with spaces. Quotes aren't allowed on my system.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3981
2016-05-03 17:58:44 +00:00
ripsaw8080
2b32f2bfa9
Prevent problems related to I/O buffering with disk images.
...
Return a fake success result for INT 13/05. Helps older games (Sierra On-Line booters, Mickey's Space Adventure, Zyll, et al.) that insist on low-level formatting a floppy disk to be used for saving games.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3980
2016-04-18 13:07:18 +00:00
ripsaw8080
4555aa279d
Implement INT 2E -- fixes Gold of the Aztecs and a few other games. Also, stop writing uninitialized junk into first shell's command tail at startup.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3979
2016-04-05 05:48:00 +00:00
ripsaw8080
3c95f17d95
EXEC improvements, mostly for the load-but-do-not-execute function.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3978
2016-04-05 05:44:43 +00:00
ripsaw8080
f0cf2bc6b0
Prevent DOS buffered input function from hanging in an infinite loop when redirected input reads a linefeed or reaches EOF.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3977
2016-04-05 05:40:48 +00:00
ripsaw8080
6f0506ec42
Graphics mode text drawing improvements: font source according to machine type, background color in 256-color modes, row wrapping.
...
Use compatible method of determining fill attribute for textmode screen scrolling in teletype function.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3976
2016-04-05 05:38:52 +00:00
ripsaw8080
77bb9df6a6
Reset CurMode object when detecting that the video mode number in BIOS memory was modified directly instead of through the INT 10h mode set function. Fixes cases where BIOS behavior is influenced with the mode number, such as the status line in Bruce Lee.
...
Set color modes (to the extent that they can be) on the Hercules machine type if the BIOS equipment list is not set to monochrome. Fixes missing text in Victory Road.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3975
2016-04-05 05:29:05 +00:00
ripsaw8080
ea40599a4b
Map inactive video memory regions as empty rather than filled with RAM. Fixes later version of Sargon 3 on color machine types.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3974
2016-04-05 05:19:06 +00:00
ripsaw8080
3a8712202e
Add support for mode 8 row copy/fill. Fixes Tandy GW-BASIC interpreter SCREEN 3 scrolling/clearing.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3973
2016-03-29 21:08:40 +00:00
ripsaw8080
58c495998a
Fill DTA for FCB search results more like real DOS. Fixes bug #436 .
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3972
2016-03-23 21:24:41 +00:00
Peter Veenstra
f59ebfd303
Fix creation of devices using FCB_Create. Fixes MS Object linker 1.10 and thus bug #435 .
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3971
2016-03-18 16:48:25 +00:00
ripsaw8080
663c86378f
Fix screen clearing when setting mode 0xA on PCjr machine type.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3970
2016-03-06 13:04:58 +00:00
ripsaw8080
3dc6d7115e
Add some defines for r3968.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3969
2016-02-14 04:15:05 +00:00
ripsaw8080
ca9049cce5
Implement BIOS beep sound for ASCII character 7.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3968
2016-02-14 04:02:09 +00:00
ripsaw8080
9035510f06
Take into account that speaker might be disabled in settings. Fixes bug #434 .
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3967
2016-02-14 03:59:17 +00:00
Peter Veenstra
30db525521
Fix compilation on visual studio
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3966
2016-02-12 08:06:04 +00:00
Peter Veenstra
c96a19e3d9
Test using Macro instead of &. Check for failure to open an image. Thanks Malvineous
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3965
2016-02-11 15:47:15 +00:00
Peter Veenstra
3000bd2feb
Be a bit more flexible. Parse ver set 3.2 correctly as well.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3964
2016-02-10 09:42:32 +00:00
ripsaw8080
7de4631055
Increase size of SysEx buffer to support Sierra's Yamaha FB-01 driver.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3963
2016-02-09 18:19:45 +00:00
Peter Veenstra
59805112d9
Use record size of 128 if it is 0 in the FCB when calling INT 21 AH=23 (fixes bug #433 ).
...
Set record size to 128 if it is 0 in the FCB when calling any FCB read/write function (ripsaw).
Fixes for acad 10:
- Add missing reference counting when the file is already open when calling FCB_Open, so that acad which uses FCBs and normal handles on the same file works better.
- Remove FCBs being added to the PSP filetable and rewrite most functions to support this change. This way acad won't run out of temporary (fcb) files when low on memory.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3962
2016-02-09 14:12:05 +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
ripsaw8080
18f5c4c565
Stop speaker output after command write, pending counter write. The hacky implementation will serve until timer/speaker is improved. Fixes constant speaker tone in Arnie 2 and Chopper Duel when using SB sound, also Titus The Fox title screen when using speaker sound.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3960
2016-02-05 13:32:48 +00:00
ripsaw8080
fe46abe6ff
Speaker init in BIOS causes samples to be generated at startup, so for now move it to hardware.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3959
2016-02-05 13:29:17 +00:00
ripsaw8080
81e4f773f5
Comment out unused counter var inside a busy loop. Compilers might be smart enough to drop it, but this way is certain.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3958
2016-02-05 13:26:23 +00:00
Peter Veenstra
19264794cb
minor cleanup
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3957
2016-01-30 16:39:35 +00:00
Sjoerd van der Berg
0d868c990f
Prevent a multiplication overflow and more accuracy by using floats for attack rate loop
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3956
2016-01-30 16:09:04 +00:00
ripsaw8080
dc4aabb403
Correct some offsets in the DTA for FCB-based search results. Fixes DIR listing in COMMAND.COM from MS-DOS and file info in XTree Gold.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3955
2015-12-21 17:14:42 +00:00
ripsaw8080
bfd180f5ae
Change BIOS equipment list to indicate DMA not supported on PCjr machine type, which fixes PCjr detection in old versions of Ancient Art of War, although DMA hardware emulation is actually still present.
...
Set PC speaker initial state in BIOS init, fixing beeps when the speaker is turned on and off without first programming the timer, such as in Koei's Ghengis Khan.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3954
2015-11-14 13:42:16 +00:00