Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 3928e70ce5
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (13 sloc) 0.505 kb
CubeOS (CAT) Filesystem
General File Format Specification
Words | Usage
0x0000-0x0004 | Inode
0x0005-(n-1) | File contents
n | EOF (0x0004)
0x0001: Inode type (0x0000: unused, 0x0001: directory, 0x0002: file)
0x0002: Reserved
0x0003: Reserved
0x0004: File length (Not including inode)
The first 4 words of the file are the inode. The first of those words must contain the inode type and the last must contain the file length.
The last word of the file must be 0x0004 (EOF).
Jump to Line
Something went wrong with that request. Please try again.