Int 13H [PC] Function 07H Format drive

Formats the entire drive, writing disk address fields and data sectors, starting at the specified cylinder.

Call with:

AH = 07H

AL = interleave

CH = cylinder

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.