qa.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 21H Function 27H
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Random Block Read
 
  Reads one or more sequential records from a file into memory, starting
  at a designated file location.
 
  Input                                    Output
  ═════════════════════════════            ═══════════════════════════════
  AH=27H                                   AL=00H  if all requested re-
  CX=number of records to read                      cords read
  DS:DX=segment:offset of prev-               01H  if end of file
        iously opened file con-               02H  if segment wrap
        trol block                            03H  if partial record read
                                                    at end of file
                                           CX=actual number of records read
                                    -♦-