Fields
The first 64 bytes. The numbers are little-endian, as the 6502's are. The offsets were compared with the T64 reader of the masswerk PET emulator on this machine
(petutils.js), which reads the signature, the version at $20, the two counts and the name at $28.
| Offset | Size | Field | Meaning |
|---|---|---|---|
| 0 | 32 | Signature | text padded with zero bytes: C64S tape image file, or C64 tape image file; an older form C64S tape file is also seen. A reader checks only that it begins C64 and contains tape. |
32 ($20) | 2 | Version | a little-endian number: $0100 or $0101 in the files described. Nothing found says what changed between them. |
34 ($22) | 2 | Maximum entries | how many 32-byte entries the directory has, used or not. The directory is exactly this long. |
36 ($24) | 2 | Entries in use | how many of them hold a file. Some tools leave it wrong; the explorer reads every entry and counts those whose type is not zero. |
38 ($26) | 2 | Unused | not used |
40 ($28) | 24 | Tape name | PETSCII, padded with spaces ($20). The masswerk emulator treats the placeholder ASS PRESENTS: as no name, which suggests some tools wrote that. |
The directory starts at offset 64.
Not described
Unknown
- Reference: the difference between version
$0100and$0101, and whether other values exist; no real file was available.