SS.WTrk Set Status

From NitrOS-9
Revision as of 16:20, 5 April 2014 by Glaw16 (Talk | contribs) (Created page with 'Formats (writes) a track on a disk (RBF-type devices only). {| | colspan="2" | '''Entry Conditions''' |- | A || ''path number'' |- | B || SS.WTrk ($04) |- | U || ''track number'…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.