Controller Internal Diagnostic; Get Disk Type - Husky MP2500 Manual

Hide thumbs Also See for MP2500:
Table of Contents

Advertisement

Exit
Description

Controller internal diagnostic

Entry
Exit
Description

Get disk type

Entry
Exit
Description
Chapter 24: INT 13H, Disk Handler
AH=status
CF=error flag
Causes the fixed disk controller to carry out diagnostic
tests on the specified drive. AH indicates whether or
not it passed this test.
AH=14H
DL=80H (drive 0) or 81H (drive 1)
AH=status
CF=error flag
Causes the fixed disk controller to carry out a built-in
diagnostic self-test. AH indicates whether or not it
passed this test.
AH=15H
DL=80H (drive 0) or 81H (drive 1)
AH=disk type
CX:DX=number of 512 byte sectors if AH=3
Gets the drive type in AH:
0=drive not present
3=fixed disk
If AH=3, CX and DX give the number of 512-byte
sectors.
215

Advertisement

Table of Contents
loading

Table of Contents