File systems
(c) 1998-2004 Jindroush
DOS2 File System| $00 | Flags | |
| bit 0 | Opened for output | |
| bit 5 | File locked | |
| bit 6 | File in use | |
| bit 7 | File deleted | |
| $01-$02 | Number of sectors in file (little endian) | |
| $03-$04 | Starting sector of file (little endian) | |
| $05-$0C | Filename (padded by spaces) | |
| $0D-$0F | Extension (padded by spaces) | |
First 125 bytes of sector contain data. Byte 126 contains file number in high six bits. Byte 127 and low two bits of byte 126 contain forward pointer. Byte 128 contains number of bytes in sector, highest bit flags end of file.
| $00 | Flags | |
| bit 0 | Unknown | |
| bit 1 | Unknown | |
| bit 2 | Unknown | |
| bit 3 | Unknown | |
| bit 4 | Unknown | |
| bit 5 | Unknown | |
| bit 6 | Unknown | |
| bit 7 | Unknown | |
| $01-$08 | Filename (padded by spaces) | |
| $09-$0B | Extension (padded by spaces) | |
| $0C | Number of blocks (8 sectors) | |
| $0D | Starting block | |
| $0E-$0F | Length of file in bytes | |
This format is just guessed.
(c) 1998-2004 Jindroush