
Home / Autodocs / mfm.device
NAME
- TD_EJECT
-
eject (or load) the disk in the drive, if possible.
FUNCTION
This command causes the drive to attempt to eject the disk in it, if any. Note that the current mfm.device does not implement this command, but it might in the future, and other trackdisk-compatible drivers may implement this command. Some devices may be able to load disks on command also.
INPUTS
- io_Device
-
preset by the call to OpenDevice()
- io_Unit
-
preset by the call to OpenDevice()
- io_Command
-
TD_EJECT
- io_Flags
-
0 or IOF_QUICK
- io_Length
-
0 (load, if supported) or 1 (eject)
RESULT
- io_Error
-
0 for success, or an error code as defined in <devices/trackdisk.h>