INT 13H (0x13) Function 1C0AH (0x1C0A) Get Device Configuration 1C0BH (0x1C0B) Get Adapter Configuration 1C0CH (0x1C0C) Get POS Information1C0EH (0x1C0E) Translate RBA to ABA

Files Recovery Software
Home Contact Details Customer Support Download Demo Products  

 
 

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.

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