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

Page "Message_SetAlarm 2/versions/1" does not exist. Please create it now, or hit the "back" button in your browser.

ColourTrans Transfer Function

Programmer's Reference Manuals
» Part 8 - Non-kernel input/output
» ColourTrans
» SWI Calls
» ColourTrans_SelectTable
» Transfer Function

Transfer Function

Entry Contents
R0 Palette entry
R5 Bit 2 is set
R6 Pointer to function to be called
R7 Pointer to transfer function workspace
R12 Workspace (as specified in R7)
Exit Contents
R0 Processed palette entry
All other registers are preserved

Notes

By setting bit 2 of the flags and R0 >= 256, ColourTrans will call the transfer function specified in R6 to pre-process each palette entry. R12 points to the workspace (as specified in R7).

The palette entry must be returned in R0, and all other register preserved.

See also

  • ColourTrans_GenerateTable
  • ColourTrans_SelectTable
Revised on September 27, 2009 12:43:52 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: ColourTrans_GenerateTable, ColourTrans_SelectTable

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