Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Int 13h Function 17h
 Detail                                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   13h     Function:   17h
 
  Title:       Set Disk Type
 
  Description:                                               [AT] [PS/2]
 
     Selects a floppy disk type for the specified drive.
 
     Input                                 Output
 
     AH = 17h                              If function successful
     AL = Floppy disk type code              Carry flag: clear
        = 00h (not used)                     AH = 00h
        = 01h (320/360K floppy disk
              in 360K drive)               If function unsuccessful
        = 02h (320/360K floppy disk          Carry flag: set
              in 1.2 megabyte drive          AH = Status
        = 03h (1.2 megabyte floppy disk           See: Int 13h
              in 1.2 megabyte drive)                   Function 01h
        = 04h (720K floppy disk
              in 720K drive)
     DL = Drive
        = 00h-7Fh floppy disk
                                    -♦-