LFS (LinTIx File System) The LFS is separated between the beginning and end of the ROM. The beginning of the ROM is used to store the data. The end is used for directories and file names. The sections are named Data and Text, respectively. Please note that this system does not preserve TIOS variables. It is also based on the standard ASCII character set. Text Section The text section is composed like the following. The new lines and commas are used for clarification, and are not included in memory, backwards: Length of name, identifier, name, [pointer, length] Length of name, identifier, name, [pointer, length] Closer byte Identifier is a 01h or a 02h that defines a file or a folder, respectively. The closer byte signifies the end of a directory, and is FFh. The pointer is only used for a file, and points to the data in the data section, with the file length being “length”. Here is an example set up (again, backwards): 0402Docs0801Test.txt00001AFFh Which, spread out, looks like: 04 (length of name) 02 (folder) Docs 08 (length of name) 01 (file) Test.txt 0000 (pointer to data) 1A (length of data) FF (end of “Docs” folder) This set up would define a folder named “Docs” containing the file “Test.txt,” whose contents are at 0000h of length 1A. (NOTE: A file would not have data at 0000h, regardless of circumstances. This is only used for an example) Data Section The data section of the program is simply a long series of bytes that represent the data of each file. Notes: There is potential lag in modifying existing files because all of the data ahead of it must be moved.