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
Allofich
ede9a90942
Fix Cppcheck passedByValue warnings
2019-10-20 22:40:55 +09:00
Allofich
6b0c382458
SVN r4239, SVN r4242
...
(Changes to drive handling. Some was already in DOSBox-X, some
conflicts. Non-conflicting parts not in DOSBox-X yet are added here)
2019-07-09 22:10:30 +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
3da34ada5b
SVN r3917
...
Make variable types used in swapping consistent and use Bit8u for drives.
2019-05-05 01:52:47 +09:00
Cameron Cawley
d5cad733f7
Fix missing includes
2018-12-30 17:55:59 +00:00
Jonathan Campbell
695fccefe7
Floppy disk tracking: Keep track of disk change signal, set it when disks are changed or swapped
2018-11-17 13:23:10 -08:00
Jonathan Campbell
8282f467d5
NFDR1 support, experimental
2018-11-04 19:33:51 -08:00
Jonathan Campbell
f26df42c12
Revert "D88: Report duplicate sectors"
...
This reverts commit 1429848175
.
2018-11-02 15:41:32 -07:00
Jonathan Campbell
1429848175
D88: Report duplicate sectors
2018-11-02 15:37:49 -07:00
Jonathan Campbell
62a365d96c
VFD image support: Some disk images (such as Ys II) have fill byte 0xFF but no data offset. Take that to mean the fill byte is 0xFF instead of erroring out. This allows the VFD images from an abandonware site to run
2018-11-01 23:35:18 -07:00
Jonathan Campbell
ec782ea795
Initial NFD disk image support (read only)
2018-10-31 00:14:41 -07:00
Jonathan Campbell
e285b54b36
Update BOOT mode to reject D88 images IF the fd_type field says it is 2D (neither double nor high density)
2018-05-26 21:34:07 -07:00
Jonathan Campbell
9b156f119c
Begin, D88 disk image support
2018-05-26 13:25:43 -07:00
Jonathan Campbell
ce8edc9371
BIOS disk: write functions should accept const * pointer. write() does not modify buffer
2018-05-25 20:06:07 -07:00
Jonathan Campbell
33c98bbaf9
VFD image sector lookup
2018-05-23 00:04:40 -07:00
Jonathan Campbell
550e8bce05
Extend image support for varied FDD sectors
2018-05-20 01:24:46 -07:00
Shane Krueger
f0051813ba
Cleanup imageDisk inheritance and misc
2018-04-30 00:45:46 -04:00
Shane Krueger
157e816284
Renamed conversion function appropriately and added comment
2018-04-29 20:45:13 -04:00
Shane Krueger
0c7c8af948
Prevent reading/writing past end of mounted VHD files
2018-04-29 15:17:29 -04:00
Shane Krueger
1a68d1e03c
Enable differencing VHD disks
2018-04-29 15:00:33 -04:00
Jonathan Campbell
e9e7c41774
Fix VHD support code to compile with pre-C++11 GCC
2018-04-22 17:41:00 -07:00
Shane Krueger
ddae7ee251
Dynamic VHD support
2018-04-22 18:26:43 -04:00
Shane Krueger
dc716db95e
Update to support 4 hard drives attached to BIOS and IDE
2018-03-13 13:48:36 -04:00
Shane Krueger
242d379795
Misc refactoring
2018-03-12 23:58:22 -04:00
Shane Krueger
215e70146e
Ramdrive bug fixes and changed drive limits from ATA limits to BIOS/MBR limits
2018-03-11 11:33:43 -04:00
Shane Krueger
5f6cb34e8c
ramdrive format bugfix
2018-03-10 14:33:29 -05:00
Shane Krueger
9050fbf3b0
Ramdrive code fix
2018-03-10 10:02:36 -05:00
Shane Krueger
891ead95ad
Update ramdrive code
2018-03-10 10:02:36 -05:00
Shane Krueger
f0cff0fa2d
Updates to ramdisk code
2018-03-10 10:02:36 -05:00
Shane Krueger
f7c2e7cc33
Add extra fields to DiskGeometryList[] in bios_disk
2018-03-10 10:02:36 -05:00
Shane Krueger
383a1a0b56
Rewrite of imageDiskMemory::Format()
2018-03-10 10:02:36 -05:00
Shane Krueger
3a09a9da51
Ramdrive new formatting code work in progress
2018-03-10 10:02:35 -05:00
Shane Krueger
138a00ce4c
Updated ramdisk formatting code to match FAT12/FAT16 specifications a little better; also deleted duplicate copy of freedos_mbr
2018-02-28 12:36:45 -05:00
Shane Krueger
40fa28ddd1
Rename 'ramcluster' to 'chunk' in bios_memdisk.cpp
2018-02-28 11:17:41 -05:00
Shane Krueger
69de7daf79
Add feature: memory-backed disk images
2018-02-25 23:09:47 -05:00
Jonathan Campbell
0922223adf
FAT and imageDisk: store the capacity in the class. Fix imgmount to
...
allow mounting the El Torito disk portion of a CD-ROM drive as a drive
letter.
2018-01-14 01:35:08 -08:00
Jonathan Campbell
9b5e4d71c5
Prepare for writing support for VFD images.
2017-11-26 21:02:15 -08:00
Jonathan Campbell
0564c4d2e8
PC-98: Initial FDD (VFD) image support.
2017-11-26 08:29:42 -08:00
Jonathan Campbell
0db11c0521
disk image offset variable. PC-98 1.2MB 3-mode floppy disk format
...
specification. FDI image detection (by extension) to apply 4K offset to
image I/O to read the image properly. imageDisk can now recognize PC-98
FDI images.
2017-11-25 14:08:44 -08:00
Jonathan Campbell
a27e08afe5
Disk format image add bytes per sector field.
2017-11-25 13:47:03 -08:00
Jonathan Campbell
2ec8aeb3a2
add entry point in INT 13h emulation to get drive A and B. remove code
...
for all but the first FDC. It's probably better if we flesh out FDC
emulation first before trying to support more than one FDC.
2015-02-22 13:54:01 -08:00
Jonathan Campbell
ffbad0b2b3
svn mainline r3878:
...
Year update.
2015-01-25 21:13:25 -08:00
Jonathan Campbell
0d2e1023c0
add configure option (disabled by default) to enable the 50ms delay
...
between VGA mode changes that DOSBox normally does by default. Hopefully
now when I do DOS demoscene captures, I don't get junk frames anymore
whenever mode changes are involved. It is an option you want to enable
in some cases, like when running weird demos like DoWhackaDo.
Also added code to better addref/release disk images on disk/CD
swapping, which fixes the segfault I observed running Windows 95 with
two ISO images attached.
2014-12-23 01:34:12 -08:00
Jonathan Campbell
6b8f83694a
add refcounting to imageDisk class.
2014-10-11 01:26:17 -07:00