h6. [[FileCore]] h6(. » [[FileCore SWI Calls|SWI Calls]] h6((. » [[FileCore_DiscOp]] h6(((. » FileCore_DiscOp 4 h2. FileCore_DiscOp 4 h5. (SWI &40540) |_<^{width:4em}. Entry | | |<^. R1 |<^. 4 + "Flags":linkflags| |<^. R2 |<^. [[FileCore_DiscOp Address|Disc address]]| |<^. R3 |<^. Pointer to block to write, or 0 to format| |<^. R4 |<^. [[Disc Format Block|Format block]]| |_<^{width:4em}. Exit | | |<^. R1 |<^. Preserved| |<^. R2 |<^. Preserved ?| |<^. R3 |<^. Preserved ?| |<^. R4 |<^. Preserved ?| h4. Use The purpose of this call is to write or format tracks. h4. Notes If R3=0, this call formats a track of the specified disc, an error is generated, if the specified format is not possible to generate, or if the track requested is outside the valid range. The tracks are numbered from 0 to (number of tracks)-1. The mapping of the address is controlled by the disc structure record. If R3<>0 then the data specified is written to the track. h4. See also * [[FileCore]] * [[FileCore_DiscOp]] * [[FileCore_DiscOp Address]] [linkflags]FileCore_DiscOp#flags