S • Cftanging Screen And Border Colors - Commodore VIC-20 User Manual

Hide thumbs Also See for VIC-20:
Table of Contents

Advertisement

CHANGING SCREEN & BORDER COLORS
Now that you know how to change the colors of letters and
graphics, we're going to show you how to change the screen
and border colors. You can display 255 different screen and
border color combinations. To make sure the VIC is ready for
what comes next, press
and then
to
erase the screen. Next, type these lines into the VIC:
ill L§] L
(Press
following lines.)
and press
at the end of each oi the
The left-mosi
character on
each line
1FOR X = 1 TO 255
2POKE 36879, X
3PRINT " [*! POKE 36879," X
4FOR T = 1 TO 1000: NEXTT
5NEXT X
This is a "time delay".
VIC counts Irom 1 to 1000
(whew!) between changes
Add one to
"X" — in other words —
change ilX11 to the next
number and do it
over again.
34
i
<
<
<
c
<
<
c
c
<
<
i
c
<
<
c
c
c
<
c
c
c
c
c
c
c
c

Advertisement

Table of Contents
loading

Table of Contents