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 18H
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Set Media Type for Format      [AT] [PS/2]
 
  Selects media characteristics for the specified drive.
 
  Input                             Output
  ══════════════════════            ══════════════════════════════════════
  AH=18H                            If function successful
  CH=number of cylinders            Carry flag=clear
  CL=sectors per track              AH=00H
  DL=drive                          ES:DI=segment:offset of disk parameter
     00H-7FH floppy disk                  table for media type
                                    If function unsuccessful
                                    Carry flag=set
                                    AH=status (see Int 13H Function 01H)
                                    -♦-