Bitzenbytes.com

CompuClues Forum

  User  Password
Thursday, May 15, 2008 - 06:03 AM
Search
Main Menu
Who's Online
MEMBERS ONLINE

You are an anonymous user. You can register for free by clicking here
User name
Password
 Remember me
Firefox
Get Firefox 110
Languages
Preferred language:

Int 13h - Disk Services
Interrupt 13h - Disk Services
Date: March 18, 2003
 
This is not a complete or extensive list of Int 13h functions.  It's only purpose is to give an indication of the kinds of functions that are performed by Int 13h.
 
Interrupt 13h (19) Functions
  Function Name Call Returns
00h Reset Disk System AH=00h
AL=drive number
  00-7F  floppy disk
  80-FF  fixed disk
CF=0 (no error)
CF=1 (error)
AH=error code
01h Get Disk Status AH=01h AH=disk status
02h Read Disk Sectors    
03h Write Disk Sectors Bob's Nuke What it means...
04h Verify Disk Sectors    
05h Format Disk Tracks    
08h Get Current Drive Parameters AH=08h
DL=drive number
Information
09h Initialize Hard Disk Parameter Table AH=09h Nothing
0Ah Read Long    
0Bh Write Long    
0Ch Seek to Head    
0Dh Alternate Disk Reset    
10h Test for Drive Ready    
11h Recalibrate Drive    
14h Controller Diagnostic    
15h Get Disk Type AH=15h
DL=drive number
AH=drive type code
16h Check for Change of Floppy Disk Status AH=16h
DL=drive number
AH=00
  (no change)
17h Set Disk Type    

IBM/MS Int 13h Extensions
Function Name Call Returns
41h Installation Check AH=41h
BX=55AA
DL=drive number
CF=0 (success)
CF=1 (no extensions)
BX=AA55 (present)
AH=extension version
42h Extended Read
(Reads disk sectors
using LBA)
AH=42h
DL=drive number
DS:SI=disk address packet
CF=0 (no error) then
AH=0
CF=1 (error) then
AH=error code
43h Extended Write
(Writes disk sectors
using LBA)
AH=43h
AL=write flags
DL=drive number
DS:SI=disk address packet
CF=0 (no error) then
AH=0
CF=1 (error) then
AH=error code

A full list (from Ralf Brown's Interrupt List) of Interrupt 13 functions can be found here.

[Printer friendly page | Send to a friend]