h6. [[ResourceFS]] h6(. » ResourceFS File Block h2. ResourceFS File Block |_<^{width:4em}. Offset |_<^{width:4em}. Size |_<^. Contents | |<^. 0 |<^. 4 |<^. Offset to next file (contiguous), or 0 for end list | |<^. 4 |<^. 4 |<^. "Load address":FileSwitch%20Key%20Features#load_execution | |<^. 8 |<^. 4 |<^. "Execution Address":FileSwitch%20Key%20Features#load_execution | |<^. 12 |<^. 4 |<^. Size | |<^. 16 |<^. 4 |<^. "Attributes":FileSwitch%20Key%20Features#file_attributes | |<^. 20 |<^. 4 |<^. Null terminated pathname from '$.' (do not include the '$.') | |/4<^. 20 + n |<^. 0 - 3 |<^. Padded with 0's until word-aligned | |<^. 4 |<^. Size of file + 4 | |<^. s |<^. File data | |<^. 0 - 3 |<^. Padded with 0's until word-aligned | h4. Notes File blocks must be contiguous. If necessary make more than one set of contiguous file blocks, and [[ResourceFS_RegisterFiles]] each set in turn. Load Address, Execution address, size and attributes can all be obtained by use of the [[OS_File 5]] SWI Call. Directories are not specified - directory structure is deduced from filenames. h4. See also * [[OS_File 5]] * [[ResourceFS_DeregisterFiles]] * [[ResourceFS_RegisterFiles]]