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

ColourTrans_SelectGCOLTable

ColourTrans
» SWI Calls
» ColourTrans_SelectGCOLTable

ColourTrans_SelectGCOLTable

(SWI &40741)
Entry
R0 Source mode / sprite area
R1 Source palette pointer / sprite
R2 Destination mode, or -1 for current mode
R3 Destination palette pointer, or
  -1 for current palette, or
  0 for default for the mode
R4 Pointer to buffer, or 0 to return length
R5 Flags
Exit
All registers preserved

Use

The purpose of this call is to set up a GCOL translation table in a buffer.

Notes

Given a source mode and palette, a destination mode and palette, and a buffer, sets up a list of GCOLs in the buffer. The values can be subsequently be used by passing them to GCOL? and TINT? commands.

See also

  • GCOL?
  • TINT?
Revised on November 26, 2013 13:42:11 by Jeffrey Lee (213) (195.72.173.131)
Edit | Back in time (4 revisions) | See changes | History | Views: Print | Source | Linked from: ColourTrans_SelectGCOLTable Flags, ColourTrans Miscellaneous, ColourTrans SWI Calls, ColourTrans mode identification, Colour Vector SWI Numbers

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