102
User's
Handbook
to the Atari 400/ 800 Computers
GRAPHICS MODES
3,
5,
and 7
COLOR
NUMBER DEFAULT
COLOR
o ORANGE
1
GREEN
2
BLUE
3 BLACK
As
a result,
when
T=O, the
color
is
orange. The PLOT statement
at
line
50
colors the pixel
at
column
0,
rowO orange. The next pixel,
at
column
1,
row
0
is
colored
green. The pixel
at
column
2,
row
0
is
blue
and the next
one
is
black.
In
graphics modes 4 and
6,
the COLOR state
ment
is
used in the
same fashion
as
in graphics modes
3,
5, and 7.
However
,
modes4
and 6 have
only
two
colors, and the default colors are
as
follows.
GRAPHICS MODES
4 and 6
COLOR
NUMBER DEFAULT
COLOR
o BLACK
1 ORANGE
Graphics
mode
8
has
only
one
color
,
with
two
brightness levels.
As
a result, the
COLOR
statement
is
used
to
select the brightness
of
a pixel. I n
other
words,
COLOR
1
causes
the next
plotted
pixel
to be visible.
COLOR
0 causes the next
plotted
pixel
to
be the
same
as
the
background
.
In graphics
mode
8,
the pixels are very small, and the graphics are
slow. It sometimes
is
useful
to
draw
an
entire
area, then "erase"
what
is
not
wanted. This
is
often
faster than
drawing
only
what
is
wanted. This can be
done
by
drawing
an
area using COLOR 1,
then
"erasing" by using
COLOR
O.
COM
COM
is
used interchangeably
with
DIM
in
dimensioning
strings,
arrays, and matrices.