| Entry | |
|---|---|
| R0 | Pointer to string, terminated by 10, 13, or 0 |
| R1 | Pointer to destination buffer |
| R2 | Buffer size + flags |
| Exit | |
|---|---|
| R0 | Pointer to terminator+1 |
| R1 | Pointer to buffer, or 0 |
| R2 | Characters converted |
| C flag set if buffer overflow | |
The purpose of this call is to provide the same functionality as a OS_GSInit call, followed by repeated calls to OS_GSRead.
It reads and translates a whole string.