ripsaw8080
babb297c60
Add opl3gold option to oplmode setting. With this option the AdLib Gold music can be selected in Dune. Only FM music without effects (reverb, stereo enhancement, surround sound, etc.) is supported; and FM volume control, used in the CD-ROM version of Dune, does work.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3936
2015-09-20 23:39:55 +00:00
Peter Veenstra
0c979d54a5
VS2015 wants it this way
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3935
2015-09-09 13:23:23 +00:00
Peter Veenstra
cb28976df6
More robust parsing, so that dosbox -fullscreen A.EXE works
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3934
2015-09-08 13:46:26 +00:00
Peter Veenstra
96fb43a208
Slight reordering of the arguments. Add -socket
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3933
2015-09-08 13:44:34 +00:00
ripsaw8080
1b7b92ed8a
Add alternate font tables and associated loading logic in video BIOS, allowing correct gaps between "wide" characters (e.g. m,w,M,W,T,Z,0) in all VGA machine types.
...
Update all related BIOS memory values and CRTC registers when loading fonts, fixing quirks in some textmode programs like Inertia Player. Based in part on a patch by h-a-l-9000.
Improve support for MDA emulation in the vgaonly machine type, as it is the only way the video BIOS can make use of the 14-line alternate symbols.
Be compatible by setting the INT 43h vector to the first half of the 8-line font table for standard text modes. Fixes a few obscure games and demos that rely on this BIOS behavior.
Move VESA mode table and OEM string before font tables in the video ROM, which is a more compatible ordering and gives the data low address offsets that work around a bug in some programs such as the Abuse game and Molejo demo.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3932
2015-08-28 14:37:25 +00:00
Peter Veenstra
f66ff6e3d7
Only compile when in debug mode.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3931
2015-08-19 18:26:04 +00:00
ripsaw8080
5a748e5cbb
Display a simple startup message for sub-shells instead of the welcome banner.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3930
2015-08-17 15:06:28 +00:00
Peter Veenstra
a03d9faf91
Add some more cases to the Alt-tab detection. It can still mess up, but this should help with a lot of cases. Thanks for testing eightbitbubsy.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3929
2015-08-17 14:07:01 +00:00
Peter Veenstra
64ad48ee52
Slight compression, so that we have more space at the bottom for height restricted screens.
...
Add some colours to the prompt, so it is more visible.
General improvements to the section parsing
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3928
2015-08-17 14:00:40 +00:00
ripsaw8080
59c9ae1d60
Fix shell PAUSE command when reading extended keys, and make TYPE command more compatible by stopping at EOF byte.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3927
2015-08-05 14:56:36 +00:00
ripsaw8080
b9cb003a62
Setting SB input rate sets output rate, fixes Fasttracker II. Clear incomplete DSP command at reset, fixes Romancing Prince.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3926
2015-08-05 14:40:51 +00:00
Peter Veenstra
acd7b73c8a
Ignore/remove single % in batchfiles. (Fixes B13Demo batchfiles on pcgamer coverdisc 1995-08)
...
Remove magic constants.
Add some boundary checks.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3925
2015-07-15 16:31:35 +00:00
Peter Veenstra
0316809ac9
Some more changes by Jochen
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3924
2015-07-09 06:25:46 +00:00
Peter Veenstra
79419f1f53
Bring OS2 port up to date. Thanks Jochen
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3923
2015-07-08 12:01:33 +00:00
Peter Veenstra
b0c72903e4
Enable SETMODE_SAVES_CLEAR for now. Fix compilation with SETMODE_SAVES set to 0. Use safe_strncpy for resolution lines.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3922
2015-07-07 11:06:27 +00:00
Peter Veenstra
db0a72cd4d
and a few more.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3921
2015-07-04 18:37:14 +00:00
Peter Veenstra
bb604c1d77
some stl implementations fake the interators...
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3920
2015-07-04 18:24:54 +00:00
Peter Veenstra
a26c21df35
some type cleanups (warnings and making sense).
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3919
2015-06-05 13:53:21 +00:00
Peter Veenstra
5c10edabb8
readb returns 8 bit value. (fixes some logging warnings later on)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3918
2015-06-05 13:31:45 +00:00
Peter Veenstra
7e22a0f0c0
make variable types used in swapping consistent and use Bit8u for drives.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3917
2015-06-05 13:22:37 +00:00
Peter Veenstra
084342cf83
typo
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3916
2015-06-05 13:20:03 +00:00
Peter Veenstra
fefe419a27
Fix (accidental) compare, fix values and removed the whole line as it wasn't used (see comment)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3915
2015-06-05 13:19:09 +00:00
ripsaw8080
b293cfa044
Improve compatibility of internal mouse driver with respect to video mode changes and hiding the pointer, and handle font reloading as a kind of mode change. Also fix unlocked mouse pointer to recognize the full range of tweaked/fontloaded text modes.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3914
2015-05-13 02:26:37 +00:00
ripsaw8080
ba3110ca07
Aspect correction fixes for CGA composite, Hercules graphics, 350-line text modes, 400-line VESA modes, and VGA ModeX (God of Thunder, Lost Vikings, Wrath of Earth, etc.)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3913
2015-05-13 01:35:39 +00:00
ripsaw8080
937dcdb1ee
Use normal teletype function for non-ANSI output so the default attribute 7 applies only to graphics modes and existing attributes are not changed in text modes.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3912
2015-05-13 01:24:56 +00:00
Peter Veenstra
5a7b43f704
Introduce mount -pr to mount paths relative to last loaded configuration file.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3911
2015-05-01 12:48:27 +00:00
ripsaw8080
f51d23bcab
Correct an oversight in mode table flags, which at least fixes aspect correction of mode 6 on VGA machine types. Thanks superfury for noticing.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3910
2015-04-03 09:36:16 +00:00
Peter Veenstra
557f663ec9
Fix detection of always_inline attribute with mingw 4.9.2
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3909
2015-03-28 18:55:42 +00:00
Peter Veenstra
08db52896d
Fix compilation on mingw systems.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3908
2015-03-28 18:54:09 +00:00
Peter Veenstra
e4b97eb62e
Handle "copy H*.txt file.txt" correctly
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3907
2015-03-18 14:38:24 +00:00
ripsaw8080
1363f5ed68
Add support for DOS 1.x floppy images. Also a small fix to the FAT drive FindNext so it doesn't require a terminating entry in the root directory.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3906
2015-03-13 13:52:48 +00:00
ripsaw8080
235939e277
Attempting to unlink (delete) an existing device name returns an access denied error. Fixes EMM device driver detection, and thus SoundBlaster sound, in the Striker soccer game. Also add a log message for FindFirst.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3905
2015-03-13 13:47:26 +00:00
ripsaw8080
4a221045be
Allow CRTC read/write access on all mirror ports for non-VGA machine types. Fixes Tandy and EGA display in International Hockey booter. Thanks Great Hierophant for testing on real systems.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3904
2015-03-13 13:05:18 +00:00
ripsaw8080
8a464fb312
Amend previous Hercules change so the MDA-compatible address wrapping is used only when graphics are disabled, but still only in 32kB mode. Thanks TheGreatCodeholio, and thanks Great Hierophant for testing on a real Hercules card.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3903
2015-03-13 12:42:12 +00:00
ripsaw8080
bd6e01565d
Amend previous MSCDEX change to use presence of cdrom device to determine the installed condition, which means unmounting will not revert to the uninstalled condition. Pass unhandled functions back to the multiplex handler, which if nothing else will generate log messages about them being unhandled.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3902
2015-03-13 12:35:30 +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
ripsaw8080
c0a3903ec0
Map a single 4kB page of video memory that repeats in the 32kB range when in Hercules text mode, making it compatible with MDA. Fixes Future Wars and Operation Stealth install programs on the Hercules machine type.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3900
2015-02-11 20:45:29 +00:00
Peter Veenstra
ef7ddd1504
Use clock_gettime when available instead of the obsolete ftime.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3899
2015-02-11 19:11:31 +00:00
Peter Veenstra
81ae7277e8
Add --disable-fpu-x64 which is the same as --disable-fpu-x86 for clarity reasons
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3898
2015-02-11 18:12:36 +00:00
ripsaw8080
f458d07983
No response from MSCDEX when it's not installed/active. Allows install programs from the V for Victory series of games to work provided no cdrom drives are mounted.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3897
2015-02-11 17:46:12 +00:00
ripsaw8080
6cec6d144b
Do less to update the frequency of an active SB DMA transfer, and include DSP command 0x41 (fixes SB16 sound in Tempest 2000). Handle DSP command 0x42 as unimplemented, because it is.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3896
2015-01-28 22:20:49 +00:00
ripsaw8080
3c8a5bdc95
Scan for illegal characters in directory and file names after trimming to 8.3 rather than before. Fixes Hexx and maybe others that neglect the Z in ASCIIZ.
...
Coalesce free memory blocks before resizing a block in case it grows; coalesce after after resizing only if the block shrinks.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3895
2015-01-28 22:19:20 +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
84bb06ea60
Arrange stack to restore registers when a child PSP is terminated. Fixes crashes in some demos (Blashphemy by Fatal Justice, Dreamwar by Elfsong, Mystic by Xenogenesis, et al).
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3892
2015-01-10 13:47:31 +00:00
ripsaw8080
3e5241947c
Mapper enhancements: Run mapper through an event to prevent crash on exit when mapper key is deleted. Display disabled items or events with no binding in grey color. Simplify joystick array init with a memset.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3891
2015-01-10 13:16:22 +00:00
Peter Veenstra
b81c813b87
Initialise all fields when constructing, fixes unintentional value reuse with Prop_multival.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3890
2015-01-09 15:00:18 +00:00
Peter Veenstra
85667fbe0f
Fix the possible/suggested values for integer properties.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3889
2015-01-09 14:58:45 +00:00
Peter Veenstra
017fda9ba0
Give some hints when we are on Z:\, but not on other drives.
...
Always return the directory for the drive if the drive exists.
Fixes/improves bug 390.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3888
2015-01-09 10:50:17 +00:00
Peter Veenstra
401d129694
Fix bug 392.
...
'\0' check at the wrong place.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3887
2015-01-09 08:57:43 +00:00