EasyManua.ls Logo

Atari 400 - Page 274

Atari 400
326 pages
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...
272
User's
Handbook
to the Atari 400/ 800 Computers
COLOR
Statement
in Graphics
Modes
0,
1,
and
2
The
COLOR
statement determines the
color
register
to
be used
with
subsequent PLOT
or
DRAWTO
statements. In graphics
modes
0,
1, and 2,
COLOR
also specifies
the
character
which
will
be
output
by subsequent PLOT
or
DRAWTO
statements.
COLOR
is
used
with
the
following
configuration,
COLOR
numericexp
The value
of
numericexp
along with the
current
graphics
mode
will
determine
the
color
register
number
used.
Table 9-6 can
be
used to
determine
the
color
register
number
from
the
COLOR
statements
numericexp
value and the
current
graphics
mode.
For example,
if
a
COLOR
3 statement
was
executed in graphics
mode
7,
SETCOLOR register
number
2
would
be
used
for
by
subsequent
PLOT and
DRAWTO
statements.
In graphics
mode
0,
the items displayed are characters--not
points.
In graphics
mode
0, the
COLOR
statement
will
specify
the
character
to
be displayed by subsequent
DRAWTO
and
PLOT statements. Table 9-7 includes the values
to
be used
with
the
COLOR
statement to generate the character desired in
graphics
mode
o.
For example,
the
following
statement,
GRAPHICS 0
COLOR
ASC("Y")
PLOT
10
,
10
will
display a
"Y"
in screen position 10,10 in graphics
mode
O.

Other manuals for Atari 400

Related product manuals