Int 13H [PC] Function 06H Format bad track

Initializes a track, writing disk address fields and data sectors and setting bad sector flags.

Call with:

AH = 06H

AL = interleave

CH = cylinder

DH = head

DL = drive

80H—FFH fixed disk

Returns:

If function successful

Carry flag = clear

AH = 00H

If function unsuccessful

Carry flag = set

AH = status (see Int 13H Function 01H)

Notes:

This function is defined for PC/XT fixed disk drives only.

For additional information, see Notes for Int 13H Function 05H.