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 18h
 Detail                                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   13h     Function:   18h
 
  Title:       Set Media Type for Format
 
  Description:                                               [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
        = 00h-7Fh floppy disk                   parameter table for
                                                media type
 
                                      If function unsuccessful
                                        Carry flag: set
                                        AH = Status
                                             See: Int 13h Function 01h
                                    -♦-