|
Colour
Jul 20, 2012 14:56:48 GMT
Post by Nonsense in BASIC on Jul 20, 2012 14:56:48 GMT
Can somebody just clear up the COLOUR command for me please.
I get COLOUR 27 is red paper and white background for example but how do you set FLASH and BRIGHT?
|
|
|
Colour
Jul 26, 2012 18:10:41 GMT
Post by Jonathan Cauldwell on Jul 26, 2012 18:10:41 GMT
COLOUR is FLASH * 128 + BRIGHT * 64 + PAPER * 8 + INK.
Red on a white background is 7 (white) * 8 + 2 (red) = 58. To make it bright, add 64 (=122). To flash, add 128 (=186).
White on red is 2 * 8 + 7 = 23. Add 64 for bright = 87, or 128 for flash = 151.
That's assuming you're not using the ULAplus.
|
|