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 05h
 Detail                                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   13h     Function:   05h
 
  Title:       Format Track
 
  Description:                                           [P] [AT] [PS/2]
 
     Initializes disk sector and track address fields on the specified
     track.
 
     Input                                 Output
 
     AH = 05h                              If function successful
     AL = Interleave                         Carry flag: clear
          (PC/XT fixed disks)                AH = 00h
     CH = Cylinder
     DH = Head                             If function unsuccessful
     DL = Drive                              Carry flag: set
        = 00h-7Fh floppy disk                AH = Status
        = 80h-FFh fixed disk                      See: Int 13h Function 01h
     ES:BX = segment:offset of address
             field list (except PC/XT
             fixed disk)
                                    -♦-