Peter Veenstra
9ffb5627aa
Add ripsaws one line patch to fix bug 488
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4173
2018-11-17 13:29:02 +00:00
ripsaw8080
d0ecdf85b2
Allocation Info works for CD-ROM drives. Fixes Bureau 13 installer.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4172
2018-11-16 22:39:24 +00:00
ripsaw8080
07c2d06ae5
Add Unit Number and Bytes Per Sector fields for DPB entries. Fixes Air Power installer and Windows 3 Virtual Memory dialog.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4168
2018-10-11 15:05:28 +00:00
ripsaw8080
c3aca8dc44
When searching CD-ROM directory entries, strip trailing period of extension-less filenames after stripping file version number and separator. Fixes disc check in Air Power.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4167
2018-10-11 14:58:18 +00:00
ripsaw8080
52d5501842
Disable UMB on PCjr machine type; fixes broken MCB chain. Remove 128k PCjr faking from r2417 that was effectively disabled by r3420.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4164
2018-09-27 20:07:06 +00:00
Peter Veenstra
2f09b52de8
Fix typos reported by lintian and change DosBox to DOSBox.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4161
2018-09-14 19:53:55 +00:00
ripsaw8080
2ec871f0e1
FAT drive fixes and improvements. Identify floppy format, and support filesystems that use only part of the disk. Fixes Make Your Own Murder Party and Music/Pinball Construction Set.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4130
2018-07-10 16:05:17 +00:00
ripsaw8080
be146f5c44
Improve disk image mounting: cycle disks only for the drive being mounted, make B: drive usable for BIOS access, and be insensitive to the order that drive letters are mounted.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4129
2018-07-10 15:51:16 +00:00
ripsaw8080
30ef5aefe9
Fix GetLabel() for the virtual drive.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4128
2018-07-10 15:38:55 +00:00
ripsaw8080
66b813ef9c
Support some installer disk detection methods: block device count, and specific MBR/boot sector contents. Fixes (original) SimCity, Amberstar, and later MicroProse installers.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4120
2018-06-21 17:46:52 +00:00
ripsaw8080
1afaf28921
Make Media ID table relative to DPB table. Fixes Hattrick by Ikarion.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4116
2018-06-12 20:52:08 +00:00
ripsaw8080
ff8d4f287f
More improvements for IOCTL generic block device request
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4115
2018-06-12 20:18:42 +00:00
ripsaw8080
31d7e74eac
It is more compatible with DOS to not insert carriage returns in the console device.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4114
2018-06-12 20:04:10 +00:00
ripsaw8080
cb8bf9f8f6
Return an error for generic block device request on unmounted floppy drives. Fixes bug #481 .
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4112
2018-06-02 18:21:21 +00:00
ripsaw8080
f9ac735c98
Be less specific about the jump instruction when identifying a video BIOS.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4110
2018-05-30 12:52:17 +00:00
Peter Veenstra
5bb10db88b
Time keeps on ticking
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4109
2018-05-29 12:58:58 +00:00
ripsaw8080
ee8103cc23
Lock default label of HDD local drive mounts. Fixes label changing to the host drive label when resetting cache on the Windows platform.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4104
2018-05-22 15:18:00 +00:00
ripsaw8080
cd9e7b3c07
Improve disk serial number DOS functions.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4102
2018-05-22 15:07:38 +00:00
ripsaw8080
630b9befb5
ANSI emulation is activated for the session when an escape sequence is encountered other than those used by internal messages. Fixes LucasArts setup programs (Bug #458 ) provided that ANSI emulation is not activated.
...
Compatible scroll fill for ANSI emulation.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4097
2018-05-03 16:49:48 +00:00
ripsaw8080
c7ced14d56
Support rarely used FCB feature: open file with search mask. Fixes Buckaroo Banzai.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4096
2018-05-03 16:08:53 +00:00
Peter Veenstra
5cb34a071d
Correct small error/warning.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4073
2018-01-31 18:21:54 +00:00
Peter Veenstra
f7ae7a1dbe
Fix narrowing warnings (errors on clang/freebsd) and an unhandled value in switch. (Part of patch #275 from strageqargo)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4072
2018-01-31 10:21:41 +00:00
ripsaw8080
34f99e9261
Remove some unnecessary things from prior commits; oops.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4063
2017-10-28 20:30:41 +00:00
ripsaw8080
9857a92c58
Improve MSCDEX GetDirectoryEntry function: skip associated files, and handle HSF differences in canonicalized structure. Also combine Copyright, Abstract, and Documentation filename functions.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4060
2017-10-28 19:47:09 +00:00
Peter Veenstra
21a0040650
Move definition of LocalFile to header file, requested by bruenor41, makes sense to make it available at a larger scope.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4058
2017-10-10 14:21:31 +00:00
ripsaw8080
451d07d8da
Point DOS redirected interrupts at a plain IRET as in real DOS. Prevents erroneous detection of an active debugger, which for example fixes sound in Microleague Football 2.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4046
2017-09-10 11:22:52 +00:00
Peter Veenstra
6cf39c1fc6
Years update
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4021
2017-05-30 11:35:08 +00:00
ripsaw8080
d16a138ac7
Use default attribute behavior of ANSI.SYS in the console device. Fixes scrolling issues. Anything that wants non-ANSI behavior may not display as intended with the internal DOS, same as real DOS when ANSI.SYS is loaded.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4005
2017-01-15 16:01:34 +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
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
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
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
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
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
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
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
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
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
34cc2d6428
correct AX and BX, they contain information on the existence of the drives specified in the FCBs in the execute block.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3941
2015-10-02 20:16:28 +00:00
Peter Veenstra
cf9f8b2d3e
-Add DOS_ToUpper which seems closer than just toupper, we might need to use it at more places than just the driveletter, but it is a big change.
...
-Rework FCB_ParseName:
-- Remove special code for . and .. as it was wrong
-- Continue reading the input string, when the max length of the field has been reached (123456789.12345 is read and returned as 12345678.123)
-- strip spaces before and after reading the separators.
-- The drive is always parsed (if present), it doesn't depend on the existence of said drive.
-- Fix parsing of .EXE and other extension only names
-- Always clear out current block and record size.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3940
2015-10-02 20:13:57 +00:00
Peter Veenstra
57ff3dfc95
Added commented out log message, to save some work
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3939
2015-10-02 20:02:55 +00:00
Peter Veenstra
39875d92da
Add call to clear out some more fields, needed for fcb name parsing.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3938
2015-09-30 14:24:49 +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
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