INT 13H (0x13)
Function 3EH (0x3E or 62) --> Set Single-Sector Bonus
(QuickCache II v4.20)
Call with: AH = 3EH
AL = New value for bonus
Return: If Function Successful,
AX = 0000H
If Function Unsuccessful,
AX = Status
Comments:
This Function is used to set the Single-Sector Bonus. If the function is successful the AX is 0000H, if unsuccessful AX returns the status.
INT 13H (0x13)
Function 3FH (0x3F or 63) --> Set Bonus Thrashold (QuickCache II v4.20)
Call with: AH = 3FH
AL = New value for bonus threshold
Return: If Function Successful,
AX = 0000H
If Function Unsuccessful,
AX = Status
Comments:
This Function is used to set the Bonus Threshold. If the function is successful the AX is 0000H, if unsuccessful AX returns the status.
INT 13H (0x13)
Function 41H (0x41 or 65) --> Installation Check (IBM/MS INT 13H Extensions)
Call with: AH = 41H
BX = 55AAH
DL = Drive number (80H-FFH)
Return: If Extensions Supported and Function Successful,
Carry Flag = Clear
BX = AA55H
AH = Major version of extensions (See the
table in Comments)
AL = Internal use
CX = API subset support bitmap (See the
Table in Comments)
DH = Extension version (v2.0 and later)
If Extension not Supported or Function Unsuccessful,
Carry Flag = set
AH = 01H (Function Invalid)
Comments:
This function checks whether the IBM/MS INT 13H Extensions are installed and supported. Values for major versions of extensions have been given in the following table:
Value |
Major Version of Extension |
01H |
1.x |
20H |
2.0 / EDD-1.0 |
21H |
2.1 / EDD-1.1 |
30H |
EDD-3.0 |
The Bit fields for IBM/MS INT 13H Extensions API support bitmap have been given in the following table:
Bit(s) |
Description |
0 |
Extended disk access functions (AH=42H, 43H, 44H, 47h and 48H) supported. |
1 |
Removable drive controller functions (AH=45H, 46H, 48H, 49H, and INT15/AH =52H) supported. |
2 |
Enhanced disk drive (EDD) functions (AH=48H and AH=4EH) supported. Extended drive parameter table is valid. |
3-15 |
Reserved (0) |
INT 13H (0x13)
Function 42H (0x42 or 66) --> Extended Read
(IBM/MS INT 13H Extensions)
Call with: AH = 42H
DL = Drive number
DS:SI = Disk address packet (See the table in
comments)
Return: If Function Successful,
Carry Flag = Clear
AH = 00H
If Function Unsuccessful,
Carry Flag = Set
AH = error code
Comments:
This function is the extension for disk read function. If the function is successful carry flag is clear and AH register is 00H, else Carry flag is set and AH returns the error code. The block count field of disk address packet is set to number of blocks successfully transferred. The Format of disk address packet has been given below:
Offset |
Size |
Description |
00H |
BYTE |
Size of Packet (10H) |
01H |
BYTE |
Reserved (0) |
02H |
WORD |
Number of blocks to transfer |
04H |
DWORD |
Transfer buffer |
08H |
QWORD |
Starting absolute block number (LBA) |
|