INT 13H (0x13)
Function 00H (0x00) - Reset disk system
Call with AH = 00H
DL = drive
00H-7FH floppy disk
80H-FFH fixed disk
Returns: If function is successful
Carry flag = clear
AH = 00H
If function is unsuccessful
Carry flag = set
AH = status
Comments:
Reset the disk controller, recalibrates its attached drives. The read/write arm is moved to cylinder 0 and prepares for the disk I/O.
This function should be called after a failed floppy disk Read, write, Verify, or Format request before retrying the operation. If the function is called with a fixed disk drive (i.e. selecting DL>=80H), the floppy disk controller and then the fixed disk controller are reset.
INT 13H (0x13)
Function 01H (0x01) Get disk system status
Call with: AH = 01H
DL = drive
00H-7FH floppy disk
80H-FFH fixed disk
Returns: AH = 00H
AL = status of previous disk operation
(See the table given before for error
and status codes description).
Comments:
Returns the status of the most recent disk operation
|