40 Commits

Author SHA1 Message Date
Allofich
9294d450ec SVN r4412
Update copyright.
2021-03-06 21:18:08 +09:00
Wengier
596a9ddb4d more file locking 2020-12-29 20:03:13 -05:00
Emmanuel Gil Peyrot
c0a106535e Replace Bit32u with uint32_t 2020-09-28 17:14:35 +02:00
Emmanuel Gil Peyrot
a431d81213 Replace Bit16u with uint16_t 2020-09-28 17:14:35 +02:00
Emmanuel Gil Peyrot
35f38f3ebe Replace Bit8u with uint8_t 2020-09-28 17:14:35 +02:00
Wengier
d373146fda use DOS date/time on local drives 2020-09-25 15:48:45 -04:00
rderooy
608a657b50 Update copyright year for dosbox and dosbox-x assets and update FSF address 2020-06-25 08:42:32 +02:00
Wengier
15d12e0054
Update dos_system.h 2020-06-11 22:33:29 -04:00
Wengier
eca0d20346
Update dos_system.h 2020-06-10 22:33:45 -04:00
Wengier
c99472d4b2
Save state includes 2020-06-03 21:35:49 -04:00
Allofich
d99be0f9f1 Fix VS warnings 2020-05-29 01:20:15 +09:00
Jonathan Campbell
a0c2fd3978 DOS and DOS FAT driver: Add to DOS drive API to allow reporting larger volumes than 2GB so FAT32 free/total disk space APIs can work properly. Change Wengier's INT AX=7303h implementation to use it so FAT32 drives can report the full space properly. COMMAND.COM for Windows 98 now report free disk space properly even if FAT32 partition larger than 2GB. 2020-05-14 23:51:06 -07:00
Allofich
68f41d3cea Use class initialization and initialization lists 2020-05-04 18:44:34 +09:00
Jonathan Campbell
2579ab1022 Incorporate ATTRIB and file attribute patch from Wengier [https://github.com/joncampbell123/dosbox-x/issues/1469] 2020-04-07 21:04:32 -07:00
Jonathan Campbell
821cb81306 compiler warning fixup 2020-03-06 23:00:04 -08:00
Jonathan Campbell
e31a0a8165 Incorporate Long Filename Support for DOS version 7 [https://github.com/joncampbell123/dosbox-x/issues/1425] 2020-03-06 22:56:22 -08:00
Allofich
0dbb160c28 Fix uninitMemberVar warnings 2019-10-27 23:50:53 +09:00
Allofich
038566362e Fix Cppcheck funcArgNamesDifferent warnings 2019-10-21 22:08:39 +09:00
Jonathan Campbell
d5f0003f80 Drive local: use C libary function fflush to explicitly flush buffers,
when asked to flush file by guest. Add file flush function in INT 21h
and the FAT driver.
2019-08-29 17:31:21 -07:00
Jonathan Campbell
579399bac9 DOS: Extend DOS drive definition to include a function to update the DPB 2019-08-26 16:15:30 -07:00
Jonathan Campbell
75b479ac68 DOS: Add DOS drive methods for raw sector access, and INT 25h code 2019-08-26 15:22:34 -07: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
fc37564a26 SVN r4058
Move definition of LocalFile to header file. Makes sense to make it
available at a larger scope.
2019-05-21 23:25:00 +09:00
Jonathan Campbell
9137c7a3ce DOS_File make Write buffer ptr const 2018-05-26 08:34:57 -07:00
Jonathan Campbell
f5ecd05c4f Unused param cleanup, dos_system.h 2018-05-21 11:57:00 -07:00
Jonathan Campbell
cf142387b7 MOUNT option for local folders, to disable caching (if you would rather not run RESCAN every time the host filesystem changes behind DOSBox-X) 2018-02-08 00:47:27 -08: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
378ba0ed98 cpm compat option. HMA adjustment if CPM compat enabled, to allow the
call to work even if A20 is enabled. Write mirror of JMP instruction for
CPM calls in HMA if DOS in HMA.
2017-05-28 00:33:47 -07:00
Jonathan Campbell
024369af71 make registering a file blob a common function 2015-10-19 13:35:28 +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
b162343af4 valgrind hunting: fix memory leaks in serial and parport emulation vs
DOS device allocation. It turns out some devices prior to DOS_Init
allocate devices, which DOS_Init then zeroed, causing DOS to forget
those devices. Fixed.
2014-05-19 02:30:47 -07:00
Jonathan Campbell
8b61f6a867 IDE ATAPI CD-ROM media change complete. If I do a CTRL+F4 to change CDs,
MSCDEX.EXE is able to pick up that the media changed and show fresh
contents. Windows 95 is able to see the change (not automatically, but
if you hit F5 (refresh) after the change the contents reflect CD media
change).
2014-03-24 00:53:19 -07:00
Jonathan Campbell
83b58f4f04 Win32 build finished. VS 2008 can be a bitch at times, but got it to work. 2014-01-25 19:59:45 -08:00
Jonathan Campbell
822293dad4 remainder of save state code removed from h/w and system emulation 2013-10-20 13:27:17 -07: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