INT 13H (0x13) Function 3EH (0x3E or 62) Set Single-Sector Bonus 3FH (0x3F or 63) Set Bonus Thrashold (QuickCache II v4.20) 41H (0x41 or 65) Installation Check 42H (0x42 or 66) Extended Read (IBM/MS INT 13H Extensions)

Files Recovery Software
Home Contact Details Customer Support Download Demo Products  

 
 

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)


Previous page

page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20

Next page
 
 
Data Recovery Book
 
Chapter 1 An Overview of Data Recovery
Chapter 2 Introduction of Hard Disks
Chapter 3 Logical Approach to Disks and OS
Chapter 4 Number Systems
Chapter 5 Introduction of C Programming
Chapter 6 Introduction to Computer Basics
Chapter 7 Necessary DOS Commands
Chapter 8 Disk-BIOS Functions and Interrupts Handling With C
Chapter 9 Handling Large Hard Disks
Chapter 10 Data Recovery From Corrupted Floppy
Chapter 11 Making Backups
Chapter 12 Reading and Modifying MBR with Programming
Chapter 13 Reading and Modifying DBR with Programming
Chapter 14 Programming for “Raw File” Recovery
Chapter 15 Programming for Data Wipers
Chapter 16 Developing more Utilities for Disks
Appendix Glossary of Data Recovery Terms
 
 

 

Pro Data Doctor

Home

Products

Contact Details

Customer Support

Download Demo

Terms and Conditions

 
Pro Data Doctor