1
0
Fork 0
Commit graph

4290 commits

Author SHA1 Message Date
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
ripsaw8080
933174fb3e Add support for High Sierra format cdrom images.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3886
2015-01-08 17:23:15 +00:00
ripsaw8080
56c3a4be9c Make the shell's internal run loop more like the command prompt run loop. Fixes CALLed batch files when executed in subshells, such as with Norton/Volkov Commander. Reference SourceForge bug #394.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3885
2015-01-06 18:32:47 +00:00
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