Fields
Twenty-six bytes, then the data. The layout is that of Peter Schepers' PC64.TXT and of VICE's reader (p00.c), and the signature, the name and the start of the data were also compared with the P00 reader of the masswerk PET emulator (parseP00 in petutils.js);
the record size byte is as the two sources give it (VICE checks it against the record length of a REL file it opens).
| Offset | Size | Field | Meaning |
|---|---|---|---|
| 0 | 8 | Signature | the seven letters C64File and a zero byte |
| 8 | 16 | Name | the file's C64 name in PETSCII, padded with zero bytes; then a zero byte at offset 24 ($18) |
25 ($19) | 1 | Record size | the record length of a REL file, zero for the others |
26 ($1A) | to the end | Data | the file as the C64 stores it. For a P00 this is a whole PRG file: its load address is at offset 26 and 27, and the program follows. For S00, U00, R00 and D00 it is the file's bytes. |
Not described
Unknown
- Reference: how the data of a REL file is laid out: the sources give only the record size and say no side sectors are needed; the explorer shows the number of records and the bytes.