Table of Contents

Note: This API call is for DOS and Win16 personality only. Use Family API for portability.

2018/09/07 05:04 · prokushev · 0 Comments

Int 21H, AH=27H

Version

1 and higher

Brief

RANDOM BLOCK READ FROM FCB FILE

Family API

Input

      AH = 27h
      CX = number of records to read
      DS:DX -> opened FCB (see #01345)

Return

AL = status

          00h successful, all records read
          01h end of file, no data read
          02h segment wrap in DTA, no data read
          03h end of file, partial read
      Disk Transfer Area filled with records read from file
      CX = number of records read (return AL = 00h or 03h)

Notes

read begins at current file position as specified in FCB; the file position is updated after reading

not supported by MS Windows 3.0 DOSX.EXE DOS extender

See also

AH=21h,AH=28h,AH=3Fh

Note

Text based on Ralf Brown Interrupt List Release 61

2018/09/04 17:23 · prokushev · 0 Comments