h6. [[FileCore]] h6(. » [[FileCore SWI Calls|SWI Calls]] h6((. » FileCore_MiscOp h2. FileCore_MiscOp h5. (SWI &40549) |_<^{width:4em}. Entry | | |<^. R0 |<^. "Reason code":#reason| |<^. R1 |<^. Drive number| |<^. R8 |<^. Pointer to Filecore instance private word| |\2<^. All other registers dependent on reason code| |_<^{width:4em}. Exit | | |\2<^. All other registers dependent on reason code| h4. Use The purpose of this call is to provide a number of miscellaneous low-level functions for accessing drives. h4(#reason). Reason Codes |_<^{width:4em}. #|_<^{width:4em}. Hex #|_<^. Action| |<^. 0|<^. &00|<^. [[FileCore_MiscOp 0|Mount]]| |<^. 1|<^. &01|<^. [[FileCore_MiscOp 1|Poll changed]]| |<^. 2|<^. &02|<^. [[FileCore_MiscOp 2|Lock floppy drive]]| |<^. 3|<^. &03|<^. [[FileCore_MiscOp 3|Unlock floppy drive]]| |<^. 4|<^. &04|<^. [[FileCore_MiscOp 4|Poll period]]| |<^. 5|<^. &05|<^. [[FileCore_MiscOp 5|Eject disc]]| |<^. 6|<^. &06|<^. [[FileCore_MiscOp 6|Read processed FileCore_Create block]]| |<^. 7|<^. &07|<^. [[FileCore_MiscOp 7|Read drive flags]]| h4. Notes The action performed depends on the reason code value in R0. h4. See also * [[FileCore]] * [[FileCore_DiscOp64]]