◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Interrupt: 13h Function: 15h Title: Get Disk Type Description: [AT] [PS/2] Returns a code indicating the type of floppy or fixed disk referenced by the specified drive code. This function is not supported on the PC or PC/XT. 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 -♦-