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

Select Table Flags

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

Flags

Entry Bit Meaning when set
R5 0 R1 = pointer to sprite, otherwise R1 = pointer to sprite name
  1 Use current palette if sprite doesn’t have one (otherwise default palette)
  2 R6, R7 specify transfer function
  3 Return GCOL numbers instead of colour numbers
  4 Generate large translation tables when converting to a 16/32 bpp mode
  24 – 31 Format of returned table:
    0 = return pixel translation table
    1 = return physical palette table

Notes

R5 is used to store set flags to determine what other registers contain.

See also

  • ColourTrans_GenerateTable
  • ColourTrans_SelectTable
Revised on September 27, 2009 16:45:13 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