Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
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
                                    -♦-