h6. [[OS SWI Calls]] h6(. » OS_GSTrans h2. OS_GSTrans h5. (SWI &27) |_<^{width:4em}. Entry | | |<^. R0 |<^. Pointer to string, terminated by 10, 13, or 0| |<^. R1 |<^. Pointer to destination buffer | |<^. R2 |<^. Buffer size + [[GS Flags|flags]]| |_<^{width:4em}. Exit | | |<^. R0 |<^. Pointer to terminator+1| |<^. R1 |<^. Pointer to buffer, or 0 | |<^. R2 |<^. Characters converted | |\2<^. C flag set if buffer overflow| h4. Use The purpose of this call is to provide the same functionality as a [[OS_GSInit]] call, followed by repeated calls to [[OS_GSRead]]. h4. Notes It reads and [[GS Translations|translates]] a whole string. h4. See also * [[GS Flags]] * [[GS Translations]] * [[OS_GSInit]] * [[OS_GSRead]]