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
Peter Veenstra
966c376302
strstr is a bit too much.
...
Pretty it up!
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3953
2015-11-12 17:40:11 +00:00
Peter Veenstra
da7fdf8919
Speed up GetHexValue.
...
Restore 1,2,3,4,5 as run 5,500,1000,5000,10000 instructions. It doesn't work flawless, but it is usable as is.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3952
2015-11-12 16:51:25 +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
76a04f0807
Fix bug #395 DOSBox can't handle double-quoted values in dosbox.conf files.
...
Extend the fix to include single quoted values.
Fix a common typo: Separator => Separator
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3950
2015-10-20 17:06:29 +00:00
Peter Veenstra
b2bcdaf1ef
Fix bug #349 dynrec endianness unsafe access to Segs.val[x]
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3949
2015-10-20 16:19:45 +00:00
ripsaw8080
53a38b773a
Improve internal ANSI support to adapt to currently displayed columns and rows. Fixes original Infocom interpreters when using something other than 80x25.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3948
2015-10-19 23:37:06 +00:00
Peter Veenstra
2a1ae6fb9c
Improve rename support for when renaming files (in a folder) on a drive different from the current one.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3947
2015-10-08 19:51:01 +00:00
Peter Veenstra
4aaa632bd9
touch up cdrom stuff for mingw64 once again (ny00123)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3946
2015-10-05 08:11:45 +00:00
ripsaw8080
6c0cca1878
Don't write past the terminator in the DTA name field when setting search results. This is what DOS does, and writing junk after the terminator was not good in any case. Fixes file listing in the 16-bit version of Galaxy Player.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3945
2015-10-03 09:21:56 +00:00
ripsaw8080
1eecef3f33
Use full mask; fixes label search on FAT drives.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3944
2015-10-03 08:59:45 +00:00
Peter Veenstra
c4177a33c6
Add patch 256 from Dominus: OS X - CoreAudio deprecated warnings eliminated
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3943
2015-10-02 20:40:41 +00:00
Peter Veenstra
c8a128d733
Rework the parsing of arguments into the FCBs:
...
- We now first split the line into arguments using space,tab,;,=,',' as separators.
- Next we convert /Hello into H ello
- Lastly we feed the arguments 1 and 2 to the FCB_Parsename function
(- It got messy, but the results are better )
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3942
2015-10-02 20:23:14 +00:00