SS.WTrk Set Status

From NitrOS-9
Jump to: navigation, search

Formats (writes) a track on a disk (RBF-type devices only).

Entry Conditions
A path number
B SS.WTrk ($04)
U track number (least significant 8 bits)
X address of the track buffer
Y side/density
  Bit B0 = side
  0 = Side 0
  1 = Side 1
  Bit B1 = density
  0 = single
  1 = double
Error Output
CC carry set on error
B error code

Additional Information

  • For hard disks for floppy disks that have a "format entire diskette command," SS.WTrk formats the entire disk only when the track number is zero.