-
Notifications
You must be signed in to change notification settings - Fork 457
Description
Is your feature request related to a problem? Please describe.
This is different then the XDF feature request. IBM released disk image files in what is referred to as DSKF format back in the day. There are mixed-mode DOS and OS/2 LOADDSKF and SAVEDSKF executables from IBM to handle the format. This format is incompatible with DOSBox-X.
My understanding is, that it is mostly compatible with standard DSK files, but with an added header.
http://www.vcfed.org/forum/archive/index.php/t-13097.html
Trying to boot such a file in DOSBox will cause a stream of "Illegal Unhandled Interrupt Called 6".
Describe the solution you'd like
Ideally that DOSBox-X would recognise the format and handle it. But in the interim it would already help if DOSBox-X would recognise it as an unsupported format and throw an error.
$ file 144US1.DSK
144US1.DSK: floppy image data (IBM SaveDskF)
Describe alternatives you've considered
Trying to convert the DSKF format disk image to standard MFM DSK format in DOSBox-X.
In the directory where I have a DSKF file and LOADDSKF.EXE, I start DOSBox-X.
MOUNT C .
IMGMAKE fdd.img -t fd_1440
IMGMOUNT A fdd.img
LOADDSKF 144US1.DSK A:
Target disk is wrong format
Expecting 2 side(s) - 80 tracks - 18 sectors per track
LOADDSKF 144US1.DSK A: /F
Disk error 0001 00 01 00 0000 00
At this point the DOSBox-X LOG contains the following:
LOG: Identified 'fdd.img' as C/H/S 80/2/18 512 bytes/sector
LOG: FAT: BPB says 18 sectors/track 2 heads 512 bytes/sector
LOG: Mounted FAT volume is FAT12 with 2847 clusters
LOG: 430184269 ERROR IOCTL:DOS:IOCTL Call 0D:40 Drive 0 unhandled
Additional context
Trying to boot a PC-DOS 7.0 disk in DSKF format with DOSBox-X results in the following error stream:
LOG: Booting guest OS stack_seg=0x7000 load_seg=0x07c0
LOG: Removing UMB block 0xcc00-0xdfff
LOG: Alright: DOS kernel shutdown, booting a guest OS
LOG: CS:IP=0000:7c00 SS:SP=7000:0100 AX=0000 BX=7c00 CX=0001 DX=0000
LOG: 2028890 ERROR CPU:Illegal Unhandled Interrupt Called 6
LOG: 2028893 ERROR CPU:Illegal Unhandled Interrupt Called 6
LOG: 2028896 ERROR CPU:Illegal Unhandled Interrupt Called 6
LOG: 2028899 ERROR CPU:Illegal Unhandled Interrupt Called 6