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 1Ah
 ◄Detail►                                    ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   13h     Function:   1Ah
 
  Title:       Format ESDI Drive
 
  See also:    Format ESDI Drive Periodic Interrupt
 
  Description:                                                    [PS/2]
 
     Initializes disk sector and track address fields on a drive
     attached to the ESDI Fixed Disk Drive Adapter/A.
 
     Input                             Output
 
     AH = 1Ah                          If function successful
     AL = Relative block address         Carry flag: clear
          (RBA) defect table count       AH = 00h
        = 0 (if no RBA table)
        = >0 (if RBA table used)       If function unsuccessful
     CL = Format modifier bits           Carry flag: set
                                         AH = Status
                                              See: Int 13h Function 01h
          Bits   Significance (if set)
 
          0      Ignore primary
                 defect map
          1      Ignore secondary
                 defect map
          2      Update secondary
                 defect map
          3      Perform extended
                 surface analysis
          4      Generate periodic
                 interrupt
          5-7    Reserved (must be 0)
 
     DL = Drive
        = 80h-FFh fixed disk
     ES:BX = segment:offset of RBA table
                                    -♦-