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

OS_Byte 135

OS SWI Calls
» OS_Byte
» OS_Byte 135

OS_Byte 135

(SWI &06)
Entry
R0 135 (&87)
Exit
R0 Preserved
R1 ASCII value of character (0 if unreadable)
R2 Mode Specifier

Use

The purpose of this call is to return the screen mode and ASCII code of the character at the text cursor position.

Notes

If cursor editing is in progress, it returns the character code returned by the character at the input cursors position. i.e. the character would be copied as input the next time the Copy key is pressed).

If a numbered mode is used, the returned mode number never has bit 7 set, even if it’s a shadow mode.

See also

  • Mode Specifier
  • OS_Byte
Revised on November 8, 2017 13:34:27 by Jeffrey Lee (213)

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.
Site design © RISC OS Open Limited 2018 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