
Home / Autodocs / ramdrive.device
NAME
TD_FORMAT/ETD_FORMAT - Write data to memory
FUNCTION
This function is traditionally used to write data to a disk that has not yet been formatted before or has had a hard error on a standard write command. None of these states apply to the ramdrive.device, and as such, this command is identical to CMD_WRITE.
INPUTS
- io_Device
-
preset by the call to OpenDevice()
- io_Unit
-
preset by the call to OpenDevice()
- io_Command
-
TD_FORMAT or ETD_FORMAT
- io_Flags
-
0 or IOF_QUICK
- io_Data
-
points to a buffer containing the data to write to the track, must be at least as large as io_Length.
- io_Length
-
number of bytes to write.
- io_Offset
-
byte offset from the start of the device.
RESULT
SEE ALSO
CMD_WRITE, TD_RAWWRITE