| Entry | |
|---|---|
| R0 | Colour Value (1 byte see below) |
| Bits | |
| 0-3 | Wimp Colour |
| 4-6 | GCOL action |
| 7 | 0 for foreground |
| 1 for background |
| Exit | |
|---|---|
| R0 | Corrupt |
The purpose of this call is to set the current graphic foreground or background colour and action to one of the Wimp’s 16 standard colours.
When used in non-16 colour screen modes, the Wimp will translate the colours to the closest approximation. More details on this can be found in the Colour section.