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 21h Function 27h
 Detail                                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Function:   27h
 
  Title:       Random Block Read
 
  See also:    Read File or Device
 
  Description:
 
     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
     CX = Number of records to read               records read)
     DS:DX = segment:offset of             = 01h (if end-of-file)
             previously opened file        = 02h (if segment wrap)
             control block                 = 03h (if partial record
                                                  read at end-of-file)
                                        CX = Actual number of records
                                             read
                                    -♦-