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

VDU 18

Programmer's Reference Manuals
» Tables
» VDU Codes
» VDU 18

VDU 18 (&12)

Use

Defines graphics foreground and background colours. Identical in use to BASIC statement GCOL.

Syntax

VDU 18,plotmode,col

Parameters

plotmode 0|1|2|3|4
col Colour

Notes

Plotmode specifies how the colour is to be placed on the screen, as tabulated below.

Colour reference is the logical colour, which may differ to the actual colour.

Plotmode Action
0 Plot the colour specified
1 OR the specified colour with that already there
2 AND the specified colour with that already there
3 EOR (Exclusive-OR) the specified colour with that already there
4 Invert the colour already there

See also

  • VDU 17
  • VDU 19
Revised on April 11, 2011 15:10:00 by Trevor Johnson (329)? (91.212.105.30)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: VDU 17, VDU Codes, VDU 19, VDU 25

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