qa.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
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Set Disk Type      [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/360 KB floppy disk            If function unsuccessful
       in 360 KB drive                     Carry flag=set
     02H 320/360 KB floppy disk            AH=status
       in 1.2 MB drive                       (see Int 13H Function 01H)
     03H 1.2 MB floppy disk
       in 1.2 MB drive
     04H 720 KB floppy disk
       in 720 KB drive
  DL=drive
     00H-7FH floppy disk
                                    -♦-