DISKTOOL is a small DOS program which should read and write floppy disk images.
It uses a BIOS interrupt, so it can't be used with Windows NT, 2000, XP or later.
It does not assume any DOS formatted disk, but it's only usable with PC floppy disks.
So it can read or write CP/M-86 disks, or XENIX disks as well.
The program DOES NOT format a floppy, it assumes already formatted floppies !
That means if you want to get a 360KB floppy disk, but the target floppy doesn't have that format,
format the target floppy first (e.g. with FORMAT A: /F:360 with DOS) ...


How to use ?

Syntax: disktool <cmd> <type> filename [x:]

<cmd> can be: read   or   write

<type> can be: 160 , 180 , 360 , 720 , 1200 or 1440 (without quotes)

filename is any valid DOS 8+3 filename

x: is a drive letter (A: or B:)

if x is ommited, program assumes A:



Examples

Reading a CP/M-86 disk in drive A:

disktool read 360 cpm86flp.img A:

Writing a CP/M-86 disk in drive B:

disktool write 360 cpm86flp.img B:


Reading a 5.25" XENIX disk in drive A:

disktool read 1200 xenix1.img A:

Writing that 5.25" image on a 3.5" HD floppy in drive B:

disktool write 1200 xenix1.img B:

(Remember: The program does not know anything about the real target floppy format,
so you can even write the image on a different formatted floppy,
but the number of sectors per track or the track number should not be smaller on target)
