Showing changes from revision #2 to #3:
Added | Removed | Changed
Entry | |
---|---|
R0 | 2 |
R1 | File handle |
R2 | Buffer |
R3 | Bytes to write |
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 |
The purpose of this call is to write bytes to 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 write access.
OS_GBPB 1 writes bytes to an open file, and allows to specify the file pointer.