Entry | |
---|---|
- | - |
Exit | |
---|---|
R0 | ASCII (if C flag is 0), or |
Error number (if C flag is 1), or | |
&1B = escape |
The purpose of this call is to read a character from the input stream.
It waits to get the next character, i.e. you will only get the control back when, for example, a key is pressed.
The source for the input stream can be read with OS_Byte 177.
If cursor editing is enabled (see OS_Byte 4), then pressing a cursor keys will start cursor editing.