h6. [[OS SWI Calls]] h6(. » [[OS_FSControl]] h6((. » OS_FSControl 35 h2. OS_ FSControl 35 h5. (SWI &29) |_<^{width:4em}. Entry | | |<^. R0 |<^. 35 (&23) | |<^. R1 |<^. Module base address | |<^. R2 |<^. Offset to [[ImageFS Information Block|ImageFS information block]] | |<^. R3 |<^. Value to pass to routines in R12 | |_<^{width:4em}. Exit | | |<^. R0|<^. Preserved| |<^. R1|<^. Preserved| |<^. R2|<^. Preserved| |<^. R3|<^. Preserved| h4. Use The purpose of this call is to register an image filing system with the Operating System. h4. Notes The module should make this call when it initialises. R1 and R2 give the location of an image filing system information block, which is used by FileSwitch to communicate with the image filing system module. It contains both information about the image filing system, and the location of entry points to the module’s code. The private word pointer passed in R3 is stored by FileSwitch. When it makes a call to the image filing system module, the private word is passed in R12. Normally, this private word is the workspace pointer for the module. h4. See also * [[ImageFS Information Block]] * [[OS_FSControl]]