Format:SCP flux image
| Platforms | Platform:Commodore 64, Platform:Amiga, Platform:Apple II, Platform:Atari ST, Platform:Amstrad CPC |
|---|---|
| Magic | 53 43 50 |
| Extensions | .scp |
| On this wiki | Facts · Code · Notes · Topics |
SuperCard Pro flux image (.scp): header "SCP" with a disk-type byte (0x00 C64, 0x04 Amiga, 0x14 Atari ST, 0x20 Apple II, 0x70 Amstrad CPC ...), a table of 168 track offsets, and per-track "TRK" blocks of 16-bit big-endian flux intervals in 25 ns ticks.
Header (16 bytes)
Greaseweazle unpacks it as "<3s9BI": 0 "SCP"; 3 version; 4 disk type; 5 number of revolutions; 6 start track; 7 end track; 8 flags; 9 bit-cell width; 10 heads (single-sided flag); 11 resolution; 12 u32 checksum (sum of all bytes from 16 on). Track offsets are 168 u32 values at 0x10 up to 0x2B0 (track = cylinder x 2 + side); 0 means absent. An optional extension area "EXTS" at 0x2B0 holds chunks such as write-splice positions ("WRSP").
Flags
bit 0 index cued, 1 96 TPI, 2 360 RPM, 3 normalised, 4 read/write, 5 footer present, 6 extended mode (other media), 7 non-SuperCard creator.
Disk types
0x00 C64, 0x04 Amiga, 0x08 Amiga HD, 0x10-0x12 Atari 800 SD/DD/ED, 0x14-0x15 Atari ST SS/DS, 0x20 Apple II, 0x21 Apple II Pro, 0x24-0x26 Apple 400K/800K/1.44M, 0x30-0x33 IBM PC 360K/720K/1.2M/1.44M, 0x40-0x43 TRS-80, 0x50 TI-99/4A, 0x60 Roland D20, 0x70 Amstrad CPC, 0x80-0x85 other, 0xE0-0xE2 tape, 0xF0-0xF1 hard disk.
Track data
Each track block: "TRK" + track number, then three u32 per revolution (index-to-index ticks, length in bitcells, data offset relative to the block), then the flux: 16-bit big-endian values in units of 25 ns (40 MHz); a value of 0 adds 65536 to the next interval.
Sources
keirf/greaseweazle (Unlicense) src/greaseweazle/image/scp.py lines 24-58, 62-70, 125-126, 149-210, 262-281, commit 26690f89967d519e0106ab9566019a026b920bb4. Related: Format:HFE image (HxC).
Code & repositories
- https://github.com/keirf/greaseweazle @
26690f89967d519e0106ab9566019a026b920bb4· license: Unlicense
Greaseweazle host tools: src/greaseweazle/image/scp.py, hfe.py, adf.py (Unlicense)
Tested on: source read, not run: source reading only · checked 2026-10-18; last activity 2026-06-16; Note: the latest release ships binaries; the wiki links only the source, never the binaries