From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:Commodore T64 tape archive" |
|---|
| claim | "A T64 directory record is 32 bytes at offset 64+32*i: entry type (0 free, 1 normal, 2 header, 3 snapshot, 4 block, 5 stream), C1541 file type, u16 start, u16 end, u32 data offset at +8, 16-byte PETSCII name at +16. Bytes 6-7 and 12-15 are not read by VICE." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Commodore T64 tape archive" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "T64_RECORD" |
|---|
| size | 32 |
|---|
| endianness | "little" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 1 |
|---|
| type | "uint8_t" |
|---|
| name | "entry_type" |
|---|
|
| offset | "0x1" |
|---|
| size | 1 |
|---|
| type | "uint8_t" |
|---|
| name | "cbm_file_type" |
|---|
|
| offset | "0x2" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "start_addr" |
|---|
|
| offset | "0x4" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "end_addr" |
|---|
|
| offset | "0x8" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "data_offset" |
|---|
|
| offset | "0x10" |
|---|
| size | 16 |
|---|
| type | "char[16]" |
|---|
| name | "cbm_name" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "T64_REC_* offsets 0,1,2,4,8,16 with lengths 1,1,2,2,4,16 and the enum t64_file_record_type_s (FREE, NORMAL, HEADER, SNAPSHOT, BLOCK, STREAM, implicit values 0-5)" |
|---|
| repo | "https://github.com/VICE-Team/svn-mirror" |
|---|
| commit | "22cf0cc8eee4dae54f55ff7a738cf0cb7eaa258f" |
|---|
| path | "vice/src/tape/t64.h" |
|---|
| lines | "104-145" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "T64 directory record" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T13:07:07.084Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T17:46:46.133Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read t64.h 100-145 and t64_file_record_read in t64.c at 22cf0cc: offsets 0,1,2,4,8,16 with lengths 1,1,2,2,4,16, get_number little-endian, entry-type enum 0-5; bytes 6-7 and 12-15 not read." |
|---|
|
|
|---|