10 get disk type (fn 15h), See 8.10) – Western Digital T13/2132-D User Manual

Page 50

Advertising
background image

T13/2132-D Revision 3

June 23, 2010

38

Working Draft Enhanced Disk Drive - 4 (EDD-4)

8.10 Get Disk Type (FN 15h)

This function shall be used to find the device type. This function is called by some versions of DOS during the
boot process.

Entry

AH 15h

DL BIOS device number

Exit

Carry Clear Function completed without error

AH

Value Description

00h Removable media device present
03h Fixed media device present

CX:DX Number of sectors on the media

Carry Set Function completed with an error

AH Shall be set to the error code

Advertising