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 0Bh
                                               Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   13h     Function:   0Bh
 
  Title:       Write Sector Long
 
  Description:                                          [PC] [AT] [PS/2]
 
     Writes a sector or sectors from memory to disk. Each sector's
     worth of data must be followed by its 4-byte ECC code. This
     function is supported on fixed disks only.
 
     The upper 2 bits of the 10-bit cylinder number are placed in the
     upper 2 bits of register CL.
 
     Input                                Output
 
     AH = 0Bh                             If function successful
     AL = Number of sectors                 Carry flag: clear
     CH = Cylinder                          AH = 00h
     CL = Sector                            AL = Number of sectors
     DH = Head                                   transferred
     DL = Drive
        = 80h-FFh fixed disk              If function unsuccessful
     ES:BX = segment:offset of buffer       Carry flag: set
                                            AH = Status
                                                 See: Int 13h Function 01h
                                    -♦-