| Entry | |
|---|---|
| R0 | From last OS_GSInit or OS_GSRead |
| R2 | From last OS_GSInit or OS_GSRead |
| Exit | |
|---|---|
| R0 | Updated for next call to OS_GSRead |
| R1 | Translated character |
| R2 | Updated for next call to OS_GSRead |
| C flag set if end-of-string | |
The purpose of this call is to return a character from a string which has been initialised by OS_GSInit.
This SWI reads and translates a string, one character at a time. Before first call, OS_GSInit must be called. To do whole string, use OS_GSTrans.