EasyManua.ls Logo

Commodore VIC-20 - Page 109

Commodore VIC-20
308 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
determine
which
colors
are displayed
for
the
dots.
For
example,
here
is
a
picture
of
the
letter
A,
and
its
bit
pattern:
IMAGE
BIT
PATTERN
00011000
*
00100100
*
01000010
■•***•
01111110
'
01000010
•
01000010
■
•
01000010
00000000
In
normal
or
high-resolution
mode,
the
screen
color
is
displayed
everywhere
there
is
a 0
bit,
and
the
character
color
is
displayed
where
the
bit
is
a
1.
Multi-color
mode
uses
the
bits
in
pairs,
like
so;
IMAGE
A
ABB
B8AA
AA
BB
AACCCCBB
AA
BB
AA
BB
AA
BB
BIT
PATTERN
00
01
10
00
00
10
01
00
01
00
00
10
01
11
11
10
01
00
00
10
01
00
00
10
01
00
00
10
00 00 00 00
In
the
image
area
above,
the
spaces
marked
AA
are
drawn
in
the
border
color,
the
spaces
marked
BB
use
the
character
color,
and
the
spaces
marked
CC
use
the
auxiliary
color.
The
bit
pairs
determine
this,
according
to
the
chart
below;
BIT
PAIR
00
01
10
11
COLOR
REGISTER
Screen
color
Border
color
Character
color
Auxiliary
color
Turn
the
VIC
off
and
on,
and
type
this
demonstration
program
100
C
-
3788B
+
4
*
(PEEK
(36866)
AND
128)
110
POKE
36878,
11
*
16
:
REM
SET
AUX
COLOR
120
PRINT
CHRS(147)
"AAAAAAAAAA"
130
FOR
L
-
0TO
9
93