Allofich
038566362e
Fix Cppcheck funcArgNamesDifferent warnings
2019-10-21 22:08:39 +09:00
Allofich
4f143be7b2
Fix uninitialized member variable warnings
2019-10-11 23:00:55 +09:00
Jonathan Campbell
9a88a8a457
DTA class allow reading attribute
2019-09-02 22:35:32 -07:00
Jonathan Campbell
5bad16d9f6
DOS FCB allow pointer change
2019-09-02 22:14:59 -07:00
Jonathan Campbell
864fb6b3b0
DOS: Allow FCB creation to set volume label if volume label attribute is set
2019-09-02 03:20:46 -07:00
Jonathan Campbell
3151e108f7
DOS: Fix the List of Lists to point at the Disk Parameter Block, for PC-98 games that enumerate the list directly
2019-08-27 12:27:01 -07:00
Jonathan Campbell
b66ba3133b
DOS: Replace hard-coded 9 bytes per DPB entry with dos.tables member that declares the bytes per entry, with defaults appropriate for MS-DOS 4.x to 6.x emulation
2019-08-26 15:54:05 -07:00
Allofich
46e6fc20b1
Type-conversion warning fixes
2019-06-29 22:51:44 +09:00
Jonathan Campbell
13646fc615
Merge pull request #1141 from Allofich/warnings3
...
Cleanup
2019-06-15 08:53:57 -07:00
Allofich
8598f90386
Remove undefined function declarations
2019-06-15 20:13:21 +09:00
Allofich
62fed560b4
Fix uninitialized variable warnings
...
Also fix a NULL dereference warning
2019-06-14 22:40:22 +09:00
Allofich
d84a812743
SVN r4183 (second half)
...
Update year
2019-06-03 23:01:41 +09:00
Allofich
05619dd023
SVN r4183 (first half)
...
Update address of FSF
2019-06-03 22:54:46 +09:00
Allofich
be94577820
SVN r4120
...
Support some installer disk detection methods: block device count, and
specific MBR/boot sector contents. Fixes (original) SimCity, Amberstar,
and later MicroProse installers.
2019-05-27 00:31:08 +09:00
Allofich
65b73d0875
SVN r4097
...
ANSI emulation is activated for the session when an escape sequence is
encountered other than those used by internal messages. Fixes LucasArts
setup programs provided that ANSI emulation is not activated.
2019-05-26 01:49:52 +09:00
Allofich
bea0bea163
SVN r3983
...
Be more compatible by converting tabs to spaces in the DOS console
device rather than in the video BIOS teletype function.
2019-05-13 20:08:04 +09:00
Allofich
7f680e0adc
SVN r3962 and r3971
...
Set record size to 128 if it is 0 in the FCB when calling any FCB
read/write function
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.
2019-05-12 17:57:00 +09:00
Allofich
beb7ece1e5
SVN r3955
...
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.
2019-05-11 21:47:15 +09:00
Allofich
765537d4c7
SVN r3938
...
Add call to clear out some more fields, needed for fcb name parsing
2019-05-09 19:04:32 +09:00
Jonathan Campbell
f459a42639
fix freetype vcxproj
2019-04-02 20:48:10 -07:00
Jonathan Campbell
566a91f7d6
remove mingw redefine
2019-04-02 17:25:10 -07:00
Jonathan Campbell
9b3b6a796e
compiler warning fixup, in the x86_64 case
2018-12-23 23:21:24 -08:00
Zoltán Mizsei
136a90db26
Patch for ftello/fseek/fopen support
2018-11-10 16:51:12 +01:00
Jonathan Campbell
b0c4e1009e
FAT: Increase maximum sector size to 2048
2018-11-08 21:13:34 -08:00
Jonathan Campbell
0444091f91
more
2018-07-15 07:38:26 -07:00
Jonathan Campbell
ada1fd1510
remove unused DOS variable
2018-07-15 01:20:32 -07:00
Jonathan Campbell
59d27964a8
New dosbox.conf option to control the size of the Swappable Data Area
2018-03-30 19:38:38 -07:00
Jonathan Campbell
fc03cba4bb
Fix COMMAND.COM to allocate from normal conventional memory so that the PSP and environment block segments appear normally in the MCB chain. For some reason this seems to help resolve crashes with some games, including Sim City 2000.
2018-03-28 08:20:39 -07:00
Jonathan Campbell
f40139764a
Update DOS_GetMemory to log allocations, and debugger to show the allocation log
2018-03-14 06:55:05 -07:00
Jonathan Campbell
0d1beebfd1
add mount -ro option, to mount a local folder readonly, update DOS kernel to support returning "write protect" error code
2018-02-08 00:29:25 -08:00
Jonathan Campbell
4345b7c25f
Following prior changes, change maximum sector size to 1024
...
bytes/sector. DOSBox-X now appears to be able to mount PC-98 FDI images
directly.
2017-11-25 23:12:02 -08:00
Jonathan Campbell
03ac1a43c0
make bootsector max size a #define constant. remove unused misc[] member.
2017-11-25 21:48:40 -08:00
Jonathan Campbell
e23fcd39bb
DOS info block fix: the NUL header has two 16-bit WORDs for interrupt
...
and strategy, NOT one 32-bit DWORD for strategy. Each 16-bit WORD is an
offset relative to the header.
2017-09-16 18:57:43 -07:00
Darik Horn
7f78ea0955
Use regular file streams in MinGW builds.
...
Interfaces like fopen, ftell, and fseek are 64-bit compatible in the
MinGW runtime.
2017-05-12 13:08:16 -04:00
Jonathan Campbell
5b90fd9eee
sticking large binary blobs in shell.cpp is messy. start moving those
...
blobs out into their own files.
2015-10-19 13:21:18 +00:00
Jonathan Campbell
3232582e8e
sorry. LFN patch completely breaks file I/O in DOSBox. reverting.
2015-08-16 03:33:59 -07:00
Jonathan Campbell
41bd80c3bf
LFN (Long File Name) support patch
...
[https://github.com/joncampbell123/dosbox-x/issues/105 ]
2015-08-16 02:02:30 -07:00
Jonathan Campbell
ffbad0b2b3
svn mainline r3878:
...
Year update.
2015-01-25 21:13:25 -08:00
Jonathan Campbell
7e6d9e25c4
DOS kernel: Modified psp() and dta() functions to print BUG message and
...
ignore attempts to read/write PSP and DTA segments IF booted into a
guest OS.
2014-04-26 00:15:10 -07:00
Jonathan Campbell
e1aa849af8
Define DOS_FIRST_SHELL_END variable to mark the end of the shell's
...
workspace. The reason this variable is needed is because DOSBox-X's
dynamic allocation mode permits additional allocation to happen before
determining the value of DOS_MEM_START. And the reason that is important
is because the DOS shell builtin assumed that it could use the area from
DOS_FIRST_SHELL+19 to DOS_MEM_START as it's environment block, when it
turns out the dynamic allocation method would have already assigned the
extra space to certain DOS kernel structures. Oops!
2014-04-23 13:37:52 -07:00
Jonathan Campbell
34aecc57cf
update DOS_GetMemory() to carry with it a string to convey the purpose
...
of the allocation.
2014-01-21 15:01:00 -08:00
Jonathan Campbell
fa43e4b203
move fixed global constants defining segments into dos.cpp and make them
...
variables. We're going to allow for dynamic mapping later.
2014-01-18 16:56:36 -08:00
Jonathan Campbell
1754a6caf5
updated comments about apparently data at 0xD000. It turns out what
...
DOSBox was doing at 0xD000 was emulating Upper Memory Blocks. Added code
to memory handler to default map out those pages, then allow the XMS
driver to map them back to RAM. Added options so that you can control
the UMB region and size from dosbox.conf.
2014-01-18 16:19:33 -08:00
Jonathan Campbell
4d0e86801f
split DOS_GetMemory() to make BIOS_GetMemory() which allocates from a
...
region in the 0xF000 segment instead of DOSBox's private segment at
0xC800. Corrected language regarding realbig16, the B (big) bit hack
doesn't allow for 32-bit real mode code, it only allows the code segment
to extend past 64KB (huge real mode).
2014-01-18 15:18:46 -08:00
Jonathan Campbell
21614b8c3f
toss out my copy, integrate tawoongs's daum branch code into mine,
...
remove what won't compile, begin work.
2013-10-14 05:07:26 -07:00
root
f331824031
port from svn
2013-07-07 20:39:49 -07:00