INT 13H (0x13)
Function 1C0AH (0x1C0A) --> Get Device Configuration
(ESDI Fixed Disk)
Call with: AX = 1C0AH
DL = drive
ES:BX = buffer for Drive Configuration Status
Block
Return: If function successful
Carry flag = clear
AH = 01H
If function unsuccessful
Carry flag = set
AH = status
Comments:
This Function is used to get the Device Configuration for the disk. If the function is successful, carry flag is clear and AH register is 01H else Carry flag is set and AH register Returns the Status. The following table shows the Format of ESDI Drive Configuration Status Block:
Offset |
Size |
Description |
00H |
Byte |
09H |
01H |
Byte |
number of words in block (06H) |
02H |
Byte |
flags |
03H |
Byte |
number of spare sectors per cylinder |
04H |
Double Word |
total number of usable sectors |
08H |
Word |
total number of cylinders |
0AH |
Byte |
tracks per cylinder |
0BH |
Byte |
sectors per track |
INT 13H (0x13)
Function 1C0BH (0x1C0B) --> Get Adapter Configuration
(ESDI Fixed Disk)
Call with: AX = 1C0BH
ES:BX = buffer for Controller Configuration
Status Block
Return: If function successful
Carry flag = clear
AH = 01H
If function unsuccessful
Carry flag = set
AH = status
Comments:
This Function is used to get the Adapter Configuration. If the function is successful the carry flag is clear and AH is 01H, if unsuccessful carry flag is set and AH returns the status.
INT 13H (0x13)
Function 1C0CH (0x1C0C) --> Get POS Information (ESDI Fixed Disk)
Call with: AX = 1C0CH
ES:BX = buffer for POS Information Status
Block
Return: If function successful
Carry flag = clear
AH = 01H
If function unsuccessful
Carry flag = set
AH = status
Comments:
This Function is used to get the POS Information. If the function is successful the carry flag is clear and AH is 01H, if unsuccessful carry flag is set and AH returns the status.
INT 13H (0x13)
Function 1C0EH (0x1C0E) --> Translate RBA to ABA (ESDI Fixed Disk)
Call with: AX = 1C0EH
CH = low 8 bits of cylinder number
CL = sector number (high two bits of
cylinder number in bits 6 and 7)
DH = head number
DL = drive number
ES:BX = ABA (Absolute Block Address)
number
Return: If function successful
Carry flag = clear
AH = 01H
If function unsuccessful
Carry flag = set
AH = status
Comments:
This Function translates the RBA (Relative Block Address) to ABA (Absolute Block Address). If the function is successful carry flag is clear and AH register is 01H, else Carry Flag is set and AH returns the status.
|