SAMdisk
Publish date: Mar 5, 2021
SAMDisk is a command line floppy disk utility. It’s used to read disks and convert disk images. I used it to convert some old Sharp MZ-800 floppy disks into the extended disk format (EDSK) so I can use them in an emulator.
- Homepage: https://simonowen.com/samdisk/
- Github: https://github.com/simonowen/samdisk
Building latest github version with IPF support
The IPF format (image preservation format) is supported in the 4.0 version of SAMdisk. To build SAMdisk from source:
- get and build https://github.com/simonowen/capsimage using
cmake . && make && sudo make install
- get and build https://github.com/simonowen/samdisk using
cmake . && make && sudo make install
$ samdisk
SAMdisk 4.0 ALPHA (Feb 6 2021), (c) 2002-21 Simon Owen
SAMDISK [copy|scan|format|list|view|info|dir|rpm] <args>
-c, --cyls=N cylinder count (N) or range (A-B)
-h, --head=N single head select (0 or 1)
-s, --sector[s] sector count for format, or single sector select
-r, --retries=N retry count for bad sectors (default=5)
-R, --rescans=N rescan count for full track reads (default=0)
-d, --double-step step floppy head twice between tracks
-f, --force suppress confirmation prompts (careful!)
The following apply to regular disk formats only:
-n, --no-format skip formatting stage when writing
-m, --minimal read/write only used MGT tracks
-g, --gap3=N override gap3 inter-sector spacing (default=0; auto)
-i, --interleave=N override sector interleave (default=1)
-k, --skew=N override inter-track skew (default=1)
-z, --size=N override sector size code (default=2; 512 bytes)
-b, --base=N override lowest sector number (default=1)
-0, --head[0|1]=N override head 0 or 1 value
See https://simonowen.com/samdisk/ for further details.