DOS Fn 14H: Read Sequential File via FCB
Compatibility: 1.0+
Expects: AH 14H
DS:DX address of an opened FCB
──────────────────────────────────────────────────────────────────
Returns: AL 0 if the read was successful and the DTA contains data
1 if EOF was reached and no data was read
2 if DTA+ FCB recSiz would overrun a segment (no read)
3 if EOF and a partial record was read (padded with 0s)
──────────────────────────────────────────────────────────────────
Info: Reads recSize bytes from the file address specified by curBlk and
curRec (as specified in the FCB) into the DTA. Then increments
the block-and-record file address.
Be sure to set curRec to 0 before starting sequential file
operations, since Fn 0fH Open FCB does not initialize it.
See Also: Fn 1aH (set DTA)
Fn 3fh (read from handle)
FCB File I/O
Handle-Oriented File I/O
DOS Functions
-♦-