RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

OS_GSTrans

Programmer's Reference Manuals
» Part 15 – SWI Calls
» OS
» OS_GSTrans

OS_GSTrans

(SWI &27)
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

Use

The purpose of this call is to provide the same functionality as a OS_GSInit call, followed by repeated calls to OS_GSRead.

Notes

It reads and translates a whole string.

See also

  • GS Flags
  • GS Translations
  • OS_GSInit
  • OS_GSRead
Created on November 28, 2009 21:39:40 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS SWI Calls, OS_GSInit, GS Flags, OS_GSRead, GS Translations, OS_ReadArgs Syntax String, *Do, *Set, *SetMacro, *Echo, *Append, *Build, *Key

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys