Showing changes from revision #0 to #1:
Added | Removed | Changed
Offset | Size | Contents |
---|---|---|
0 | 4 | Offset to next file (contiguous), or 0 for end list |
4 | 4 | Load address |
8 | 4 | Execution Address |
12 | 4 | Size |
16 | 4 | Attributes |
20 | 4 | Null terminated pathname from ‘$.’ (do not include the ‘$.’) |
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 |
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.