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

Select Table Flags

ColourTrans
» SWI Calls
» ColourTrans_SelectTable
» Flags

Flags

Entry Bit Meaning when set
R5 0 R1 = pointer to sprite, otherwise R1 = pointer to sprite name (see ColourTrans mode identification)
  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 flags to determine what other registers contain, as well as to describe the desired output format of the generated table.

See also

  • ColourTrans_GenerateTable
  • ColourTrans_SelectTable
Revised on November 26, 2013 13:37:38 by Jeffrey Lee (213) (195.72.173.131)
Edit | Back in time (4 revisions) | See changes | History | Views: Print | Source | Linked from: ColourTrans_GenerateTable, ColourTrans_SelectTable, OS_SpriteOp Scaled/Transformed Plot Flags

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.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
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