Introduction
An SCP file is a flux image of a floppy disk, made by the SuperCard Pro disk reader. Instead of the decoded sectors, it records the magnetic flux transitions the drive head saw, as times between pulses. That is the lowest level a floppy can be copied at, so an SCP file keeps copy protection, unusual formats and damaged areas that sector images lose.
The viewer shows the header, the track offset table, every revolution and its flux values, the checksum check and the footer with its strings, and finds IBM MFM and FM sectors in the flux (their CRCs checked).
The format is not tied to one computer: the same file type holds Amiga, Commodore, Atari, Apple, PC and other disks. Other flux readers, such as Greaseweazle, also write it, and preservation projects use it as an archive format.
Structure
The file starts with a 16-byte header: the text SCP, a version byte, the
disk type, the number of revolutions recorded per track, the first and last track
numbers, flags, the width of the flux values, the heads recorded, the timing resolution
and a checksum. A table of track offsets follows, one 4-byte entry per track.
Each track starts with TRK and the track number, then, for each
revolution of the disk, the time the revolution took, the number of flux values and where
they are. The flux values are 16-bit big-endian counts of a 25 nanosecond clock, by
default; a value of zero means the gap was too long for 16 bits and the next value
continues it.
0HeaderSCP, version, disk type, revolutions, tracks, flags, checksum16 bytes16Track offset table where each track starts4 bytes per track…TrackTRK, a timing entry per revolution, then the flux valuesrepeated
Not described
Known, not yet covered
- Viewer: Amiga MFM, Commodore GCR and Apple GCR disks are listed and measured (every flux value, revolution and the timing histogram) but not decoded to sectors. Only the first revolution of each track is searched for IBM MFM and FM sectors; copy-protected or non-IBM layouts show as flux only. The IBM decoder has been checked only against images made for the tests, not against captures from real drives.
- Viewer: the footer string length is read as little-endian (the specification does not state the byte order), and only the revision 0x16 footer layout is read.
Unknown
- Reference: the extended-mode variables (flag bit 6, bytes
0x10–0x7F, for hard disk and tape images): the specification says information on them is “forthcoming” and no other source was found (structure). The viewer shows an extended-mode image as its header and leaves the rest uninterpreted.
Links
Software
- SuperCard Pro software – reads disks to SCP files with the SuperCard Pro board (Windows)
- Greaseweazle – flux reader whose tools read and write SCP files (Windows, macOS, Linux)
- HxC Floppy Emulator software – converts between flux and sector images (Windows, Linux)