Specifications
AMD Geode⢠GeodeROM Functional Specification 37
Removable Media
32087C
5.2.6 Function 05h - Format Track (Floppy Disk)
Description:
Performs a low level function on a single floppy diskette track. The calling application passes a far pointer to a 4-byte
table specifying low level format parameters.
Supports:
Floppy disk only.
Passed:
Returns:
Special Instructions:
None.
Related Functions:
INT 13h "Function 01h - Get Disk Subsystem Status" on page 33.
Parameter Description
AH 05h
AL Number of sectors to create on this cylinder
CH Cylinder number
CL Starting sector (1-based)
DH Drive head (0 or 1)
DL Drive number
ES:BX Far pointer to array of 4-byte parameter tables
The format of a single 4-byte parameter table:
BYTE Track
BYTE Head
BYTE Sector
BYTE Bytes/sector 0 = 128, 1 = 256, 2 = 512, 3 = 1024
Parameter Description
CF 0 = Success
1 = Failure
AH Status code:
See AH in "Function 01h - Get Disk Subsystem Status" on page 33