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 07h
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   13h     Function:   07h
 
  Title:       Format Drive
 
  Description:                                                      [PC]
 
     Formats the entire drive, writing disk address fields and data
     sectors, starting at the specified cylinder. This function is
     defined for PC/XT fixed disk drives only.
 
     Input                        Output
 
     AH = 07h                     If function successful
     AL = Interleave                Carry flag: clear
     CH = Cylinder                  AH = 00h
     DL = Drive
        = 80h-FFh fixed disk      If function unsuccessful
                                    Carry flag: set
                                    AH = Status
                                         See: Int 13h Function 01h
                                    -♦-