Forum unknown
· Programming
File Structure
1 messages in this thread
Bela;
Ok, here's the structure again *sigh*…
Byte Reference Purpose
—- ————
0 | T.SHORT | Type
1 | OWN KEY | Pointer to self
2 | 0 | Highest sequence number (always 0)
3 | 0 |
4 | |
5 | CHECKSUM | Checksum for header
6 | | Beginning of hash table
| |
~ ~
~ Hash Table~
| |
Size-51 | | End of table
Size-50 | Spare |
Size-48 | PROTECT | Protection longword (ref. all bytes)
Size-47 | 0 | unused
Size-46 | |
| COMMENT | User comment (as BCPL string)
Size-24 | |
Size-23 | DAYS | Creation date/time
Size-22 | MINS |
Size-21 | TICKS |
Size-20 | DIRNAME | Stored as BCPL string of <= 30 chars
Size-4 |HASHCHAIN | Pointer to next name w/same hash value
Size-3 | PARENT | Pointer to parent dir
Size-2 | 0 | Extension (always 0)
Size-1 | ST.USERDIR| Secondary type.