[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 13 - DISK - GET DRIVE PARAMETERS (PC,XT286,CONV,PS,ESDI,SCSI)
        AH = 08h
        DL = drive (bit 7 set for hard disk)
Return: CF set on error
            AH = status (07h) (see AH=01h)
        CF clear if successful
            AH = 00h
            BL = drive type (AT/PS2 floppies only)
                01h 360K
                02h 1.2M
                03h 720K
                04h 1.44M
                06h ??? (checked by 386MAX v6.01)
            CH = low eight bits of maximum cylinder number
            CL = maximum sector number (bits 5-0)
                 high two bits of maximum cylinder number (bits 7-6)
            DH = maximum head number
            DL = number of drives
            ES:DI -> drive parameter table (floppies only)
Notes:  may return successful even though specified drive is greater than the
          number of attached drives of that type (floppy/hard); check DL to
          ensure validity
        for systems predating the IBM AT, this call is only valid for hard
          disks, as it is implemented by the hard disk BIOS rather than the
          ROM BIOS
        Toshiba laptops with HardRAM return DL=02h when called with DL=80h,
          but fail on DL=81h.  The BIOS data at 40h:75h correctly reports 01h.
SeeAlso: INT 1E,INT 41

See Also: 1315
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson