Atari
BASIC
Reference Guide
99
DRAWTO
statement
will
be executed
with
the
character A
until
another
COLOR
statement
has
been executed.
EXAMPLE
10
GRAPHICS °
20
COLOR
65
30
PLOT
0,0
40
DRAWTO
10,10
The
preceding
program
would
print
the
character A in
the
upper
left-hand
corner
of
the
screen because
of
the
PLOT 0,0
statement. The
DRAWTO
10,10
would
cause a diagonal
line
consisting
of
the character A
to
appear
on
the
display. A
character
would
appear at the positions
(0
,0), (1,1), (2,2) ... (10,10).
The display looks
like
white
characters
on
a
blue
background.
Actually,
the
"white"
is
very
bright
blue
. The intensity
of
the
characters can be chosen
with
a SETCOLOR statement.
The
COLOR
statement
has
a
different
function
in
graphics
modes 1 and
2.
Modes
1 and 2 have
fewer
characters available
than
Mode
0,
but
each character can be
printed
in 4 colors.
The
difference
between
modes 1 and 2
is
the
size
of
the
character. The characters in
mode
2 are
twice
the
height
of
mode
1,
but
are
the
same
width.
Table 9-4 lists the values
of
the
COLOR
statement arguments
for
each character in 4 colors. The
columns
of
the
table
correspond
to
the 4
color
registers.
Th
e standard character set
will
be used
unless the alternate character set
is
specified
with
the statement
POKE
756,
226.
To
return
to
standard characters,
POKE
756,
224.