[Coco] Changeing Forground Colors in DECB
rietveld rietveld
rietveldh at hotmail.com
Mon Aug 6 09:46:15 EDT 2018
I just wrote this small program to better explain how 'COLOR' works
10 FOR A = 0 TO 9
20 IF A=9 THEN RUN
30 SCREEN 1
40 COLOR A,A
50 GOSUB 80
60 PCLS
70 NEXT A
80 FOR R=1 TO 30
90 CIRCLE(128,96),R,A
100 NEXT R
110 RETURN
'RUN' this program
Now change LINE 40 to read:
40 COLOR A
And watch the difference
Now change LINE 40 to read:
40 COLOR , A
And compare the difference again
Hopefully this visually explains it
Sent from my BlackBerry 10 smartphone.
Original Message
From: coco at jechar.ca
Sent: Monday, August 6, 2018 8:45 AM
To: Coco List
Reply To: CoCoList for Color Computer Enthusiasts
Subject: [Coco] Changeing Forground Colors in DECB
Hi I am runing a Coco3 with a composite monitor.
CLS N
Works just fine for changeing the background color
According to "TRS=80 Color Computer Quick Reference Guide"
the command
COLOR forground,background
should be able
to change my forground color but it does not work on my coco3.
No syntax error but it does nothing.
Charles
--
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco
More information about the Coco
mailing list