INT 13H (0x13) Function 46H (0x46 or 70) Eject Media 47H (0x47 or 71) Extended Seek 48H (0x48 or 72) Get Drive Parameters 49H (0x49 or 73) Extended Media Change (IBM/MS INT 13H Extensions)

Files Recovery Software
Home Contact Details Customer Support Download Demo Products  

 
 

INT 13H (0x13)

Function 46H (0x46 or 70) --> Eject Media (IBM/MS INT 13H Extensions)

Call with: AH = 46H
AL = 00H (reserved)
DL = Drive number

Return: If Function Successful,
Carry Flag = Clear
AH = 00H

If Function Unsuccessful,
Carry Flag = Set
AH = error code

Comments:

This function is to eject media. 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.

INT 13H (0x13)

Function 47H (0x47 or 71) --> Extended Seek (IBM/MS INT 13H Extensions)

Call with: AH = 47H
DL = Drive number
DS:SI = Disk address packet

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 seek 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.

INT 13H (0x13)

Function 48H (0x48 or 72) --> Get Drive Parameters (IBM/MS INT 13H Extensions)

Call with: AH = 48H
DL = Drive (80H-FFH)
DS:SI = Buffer for drive parameters

Return: If Function Successful,
Carry Flag = Clear
AH = 00H
DS:SI = Buffer filled

If Function Unsuccessful,
Carry Flag = Set
AH = Error code

Comments:

This function is used to get the drive parameters. If the function is successful carry flag is clear and AH register is 00H with DS:SI of Filled buffer, else Carry flag is set and AH returns the error code.

INT 13H (0x13)

Function 49H (0x49 or 73) --> Extended Media Change (IBM/MS INT 13H Extensions)

Call with: AH = 49H
DL = Drive number (any drive number, see
Comments)

Return: If media has not been changed,
Carry Flag = Clear
AH = 00H

If media may have been changed,
Carry Flag = Set
AH = 06H (Error code for media change)

Comments:

This function is the extension for media change 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 main difference in this function and function AH = 16H of INT 13H is that we may specify any drive number, where Function 16H allows only drive number 00H to 7FH of floppy disks.

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