Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | |
---|---|
R0 | 152 (&98) |
R1 | Buffer number |
Exit | |
---|---|
R0 | Preserved |
R1 | Preserved |
R2 | Next byte in buffer, corrupted if buffer empty |
C flag set if buffer is empty, otherwise clear |
The purpose of this call is to check whether a given buffer is empty, and if a byte is available return it without removing it from the buffer.
The buffer number is not validated – undefined results (rather than an error) occur if a bad buffer number is passed.