Int 13H Function 15H
◄Summary► ◄Notes► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Description: Get Disk Type [AT] [PS/2]
Returns a code indicating the type of floppy or fixed disk referenced by
the specified drive code.
Input Output
══════════════════════ ════════════════════════════════════
AH=15H If function successful
DL=drive Carry flag=clear
00H-7FH floppy disk AH=drive type code
80H-FFH fixed disk 00H if no drive present
01H if floppy disk drive
without change-line support
02H if floppy disk drive
with change-line support
03H if fixed disk
and, if fixed disk (AH=03H)
CX:DX=number of 512-byte sectors
If function unsuccessful
Carry flag=set
AH=status (see Int 13H Function 01H)
-♦-