| Entry | |
|---|---|
| R0 | Flag word |
| R1 | Pointer to ECF pattern (if R0 bit5 is set), or |
| Colour number (if R0 bit5 clear) |
| Exit | |
|---|---|
| - | - |
The purpose of this call is to set or read the text and graphics colours.
When writing colours, graphics colours may be set using a pattern block, text colours must be specified as a colour number.
When reading the colours, text colours are returned as a colour number in R1, but you must supply a pattern block to read the graphics colours.