INT 13H (0x13)
Function 0FH (0x0F or 15) >> Write sector buffer
Call with:AH = 0FH
ES: BX = segment: offset of buffer
Returns:If function successful
Carry flag = clear
If function unsuccessful
Carry flag = set
AH = status
Comments:
This function transfers data from system memory to internal sector buffer of the fixed adapter. No data is written to the physical disk drive. This function should be called to initialize the contents of the sector buffer before formatting the drive with INT 13H Function 05H.
INT 13H (0x13)
Function 10H (0x10 or 16) >> Get drive status
Call with:AH = 10H
DL = drive
80H-FFH fixed disk
Returns:If function successful
Carry flag = clear
AH = 00H
If function unsuccessful
Carry flag = set
AH = status
Comments:
This function tests whether the specified fixed disk drive is operational and returns the drive’s status. This function is supported on fixed disks only.
|