|_<^{width:4em}. Offset |_<^. Contents | | |<^. &00 | Image filing system information word (see below) | | |<^. &04 | Image filing system [[File Types|file type]] | | |<^. &08 | Offset of routine to open files | ([[FSEntry_Open|ImageEntry_Open]]) | |<^. &0C | Offset of routine to get bytes from media | ([[FSEntry_GetBytes|ImageEntry_GetBytes]]) | |<^. &10 | Offset of routine to put bytes to media | ([[FSEntry_PutBytes|ImageEntry_PutBytes]]) | |<^. &14 | Offset of routine to control open files | ([[FSEntry_Args|ImageEntry_Args]]) | |<^. &18 | Offset of routine to close open files | ([[FSEntry_Close|ImageEntry_Close]]) | |<^. &1C | Offset of routine to do whole file operations | ([[FSEntry_File|ImageEntry_File]]) | |<^. &24 | Offset of routine to do various FS operations | ([[FSEntry_Func|ImageEntry_Func]]) | The offsets held in each word are from the base of the filing system module. The block need not exist for long, as [[FileSwitch]] takes a copy of it and converts the entry points to absolute addresses. So you could set up the block as an area in a stack frame, for example. The image filing system file type gives the numerical [[File Types|file type]] of files which contain images understood by the image filing system. h2. Filing system information word The filing system information word (at offset &00) tells FileSwitch various things about the filing system: |_<^{width:4em}. Bit |_<^. Meaning if set | |<^. 27 | Tell the image filing system when flushing by calling [[ImageEntry_Args]] 255 | All other bits are reserved and should be set to zero. h4. See also * [[FileSwitch]] * [[OS_FSControl 35]]