Specifications
32 AMD Geode⢠GeodeROM Functional Specification
Removable Media
32087C
5.2.1 Function 00h - Reset Disk Subsystem
Description:
In an ATA drive-equipped system, this function toggles bit four, in register six, of the Control Register Block. This
causes the disk(s) to recalibrate internally and seek to cylinder zero.
Supports:
Fixed disks and floppy disks.
Passed:
Returns:
Special Instructions:
If DL <
80h, both the fixed disks and floppy disks reset.
Related Functions:
INT 13h "Function 01h - Get Disk Subsystem Status" on page 33.
INT 13h "Function 0Dh - Alternate Disk Subsystem Reset" on page 39.
Parameter Description
AH 00h
DL Drive number
Parameter Description
CF 0 = Success
1 = Failure
AH Status code:
00h = Operation completed successfully (fixed, floppy)
01h = Illegal/unrecognized command (fixed, floppy)
02h = Sector address mark not found (fixed, floppy)
03h = Attempt to write to write-protected disk (fixed, floppy)
04h = Sector not found (fixed, floppy)
05h = Reset failure (fixed only)
06h = Diskette change signal (floppy only)
07h = Parameter activity failed (fixed only)
08h = DMA overrun (floppy only)
09h = DMA operation would have crossed a 64 KB boundary (floppy only)
0Ah = Bad or invalid sector (fixed only)
0Bh = Bad or invalid cylinder (fixed only)
0Ch = Invalid cylinder number (fixed only)
0Dh = Invalid number of sectors supplied during format (fixed only)
0Eh = Controller detected control data address mark (fixed only)
0Fh = DMA arbitration failure (fixed only)
10h = CRC/ECC bad (fixed only)
11h = Data corrected using ECC (fixed only)
20h = Controller failed self test (fixed only)
40h = Error during seek (fixed only)
80h = Command timed out (fixed only)
AAh = Drive not ready (fixed only)
BBh = Unknown error (fixed only)
CCh = Write error (fixed only)
E0h = Status register error (fixed only)
FFh = Media sense failed (fixed only)