FUSE drivers to support the RedSea filesystem. Currently read only.
- Read-only support for the RedSea filesystem on TempleOS ISO.C files
- Should hopefully support writing as development continues and I look into how space allocation works.
To use this program, you should have FUSE installed on your system. You should then be able to run the fuse drivers with ./redsea [RedSea.ISO.C] [directory]
where RedSea.ISO.C
is any RedSea ISO.C file and directory
is the directory you wish to view the filesystem in.
Some documenation of what I know about the RedSea filesystem
RedSea operates with 512 byte Blocks
RedSea ISO.C file headers follow the ISO9660 format w/ El Torito extension for the first couple of blocks.
In RedSea block 0x58
byte 0x18
seems to always point to the block starting the root directory.
Directories are split into 64 byte blocks indicating different files and subdirectories contained within the directory. The first two entries are always the directory itself and its parent directory ..
Entries start with one of 3 possible 2 byte markers: 0x0820
, 0x0820
, and 0x0C20
which indicate whether the entry is a directory, a file, or a compressed file, respectively.
The marker is followed by a 38 bit section for a name.
Bytes 40-47 represent the starting block of the file.
Bytes 48-55 represent the file size in bytes.
Bytes 56-63 represent the time the file was last modified using the CDate date specification.
CDate is TempleOS's custom date format, based off of the birth of Christ.
CDates are given using a 64 bit integer, with the upper 32 bits 0xFFFFFFFF
representing the number of days since the birth of Christ 719527 days before the unix epoch start and the lower 32 bits 0xFFFFFFFF
representing the time of day divided by 4 billion, giving it the precision of 1/49710ths of a second.
As an example: the CDATE 0x000B4371D95FF3DD
would represent January 7th, 2021 at 20:22:44, with 0x00B04371
representing the days since the birth of christ and 0xD95FF3DD
representing the number of 1/49710ths of a second intervals since the start of the day.
Terrence Andrew Davis for creating the RedSea filesystem and TempleOS.