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_ReadPoint

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

OS_ReadPoint

(SWI &32)
Entry
R0 X co-ordinate
R1 Y co-ordinate
Exit
R0 Preserved
R1 Preserved
R2 Colour
R3 Tint
R4 -1 if point was off screen, else 0

Use

The purpose of this call is to return the colour and tint of a point.

Notes

If in a 16 or 32 bpp mode, this will return the 15 or 24 bit colour number in R2 and tint will be 0.

Created on December 1, 2009 15:34:07 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS SWI Calls, OS_Word 9, OS_Word 9 Input Block, OS_Word 9 Output Block

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