31h FL$READ read current record
Input X = where to put data read (leading count byte)
Output B = record type of record
Description Read the record from the current position of the current record type into memory at X as a leading count byte string. Does not change the current record number.

See also FL$RSET and FL$NEXT.

BUFFER: DS      255

        LDX     #BUFFER
        OS      FL$READ
        BCS     ERROR
Errors 194 - battery too low
200 - read pack err
238 - end of file
240 - unknown pack
241 - pack not blank
243 - bad device name
245 - write pack err
246 - no pack