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

ColourTrans_SelectGCOLTable

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

ColourTrans_ SelectGCOLTable

(SWI &40741)
Entry
R0 Source mode
R1 Source palette pointer
R2 Destination mode, or -1 for current mode
R3 Destination palette pointer, or
  -1 for current palette, or
  0 for default for the current 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 September 28, 2009 19:15:13 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: ColourTrans SWI Calls, ColourTrans Miscellaneous, Select Table Source Mode, Select Table Source Palette Pointer, ColourTrans_SelectGCOLTable Flags, Colour Vector SWI Numbers

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