INT 13H (0x13) Function 43H (0x43 or 67) Extended Write 44H (0x44 or 68) Verify Sectors 45H (0x45 or 69) Lock/Unlock Drive (IBM/MS INT 13H Extensions)

Files Recovery Software
Home Contact Details Customer Support Download Demo Products  

 
 

INT 13H (0x13)

Function 43H (0x43 or 67) --> Extended Write (IBM/MS INT 13H Extensions)

Call with: AH = 43H
AL = write flags (See the table in
comments)
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 disk write 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. The information of write flags for different versions has been given in the following table:

Version 1.0 and 2.0

Version 2.1 and later

Value

Description

Value

Description

Bit 0

Verify Write

00H and 01H

Write without Verify

Bits 1 to 7

Reserved (0)

02H

Write with verify


INT 13H (0x13)

Function 44H (0x44 or 68) --> Verify Sectors (IBM/MS INT 13H Extensions)

Call with: AH = 44H
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 Verify Sectors 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 45H (0x45 or 69) --> Lock/Unlock Drive (IBM/MS INT 13H Extensions)

Call with: AH = 45H
AL = Operation Number (See the Table in
comments)
DL = Drive number

Return: If Function Successful,
Carry Flag = Clear
AH = 00H
AL = Lock State (00H = Unlocked)

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

Comments:

This function is used to Lock/Unlock the drive. This function is required to be supported for any removable drives numbered 80H or higher. Up to 255 locks may be placed on a drive, and the media will not be physically unlocked until all locks have been removed.

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.

Operation numbers for different Lock/Unlock operation of the drive have been given in the following table:

Value

Function

00H

Lock media in drive

01H

Unlock media

02H

Check lock 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