Showing changes from revision #3 to #4:
Added | Removed | Changed
Entry | |
---|---|
R0 | 4 |
R1 | File handle |
R2 | Pointer to buffer |
R3 | Bytes to read |
Exit | |
---|---|
R0 | Preserved |
R1 | Preserved |
R2 | Pointer after end of data |
R3 | Number of bytes not transferred |
R4 | New file pointer |
C flag is clear if R3=0, else it is set |
The purpose of this call is to read bytes from an open file at the current file pointer.
The ‘EOF-error-on-next-read’ flag is cleared.
Error is generated if invalid file handle, directory, or no read access.
OS_GBPB 3 read bytes from an open file at a given file pointer.