a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Devices:
 trackdisk.device
  CMD_CLEAR
  CMD_READ
  CMD_UPDATE
  CMD_WRITE
  TD_ADDCHANGEINT
  TD_CHANGENUM
  TD_CHANGESTATE
  TD_EJECT
  TD_FORMAT
  TD_GETDRIVETYPE
  TD_GETGEOMETRY
  TD_GETNUMTRACKS
  TD_MOTOR
  TD_PROTSTATUS
  TD_RAWREAD
  TD_RAWWRITE
  TD_REMCHANGEINT
  TD_SEEK
Include
GuruMeditation
Docs » Autodocs » trackdisk.device » CMD_CLEAR

NAME

	CMD_CLEAR/ETD_CLEAR -- mark the track buffer as containing invalid
data.

FUNCTION

	These commands mark the track buffer as invalid, forcing a
reread of the disk on the next operation. ETD_UPDATE or CMD_UPDATE
would be used to force data out to the disk before turning the motor
off. ETD_CLEAR or CMD_CLEAR are usually used after having locked out
the trackdisk.device via the use of the disk resource, when you
wish to prevent the track from being updated, or when you wish to
force the track to be re-read. ETD_CLEAR or CMD_CLEAR will not do an
update, nor will an update command do a clear.
IO REQUEST INPUT
io_Device preset by the call to OpenDevice()
io_Unit preset by the call to OpenDevice()
io_Command CMD_CLEAR or ETD_CLEAR
io_Flags 0 or IOF_QUICK
iotd_Count (ETD_CLEAR only) maximum allowable change counter
value.
IO REQUEST RESULT
io_Error - 0 for success, or an error code as defined in
<devices/trackdisk.h>

SEE ALSO

CMD_WRITE(), CMD_UPDATE()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Alpha Flight 1970

AYS
RZR
AFL
SNT

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se