EasyManuals Logo

Atari 400 User Manual

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
Page #100 background imageLoading...
Page #100 background image
98
User
's
Handbook
to the Atari 400/ 800 Computers
COLOR
(C)
In graphics modes 0
through
2,
the
COLOR
statement
is
used to
choose the character that
will
be placed
on
the screen
with
a
PLOT statement.
CONFIGURATION
COLOR
a
In all graphics modes, the argument
of
the
COLOR
statement
must be positive, and
if it
is
not
an
integer,
it
will
be
rounded
off.
In
mode
0,
the
text
is
printed
in the same
color
as
the
background
.
Only
the
luminance
of
the
color
can be chosen. For
example,
if
the
background
is
chosen to be green, the text must
be green,
but
it
can be any
brightn
ess.
The
COLOR
statement
indicates
the
character that
is
to be
printed
with
the next PLOT
statement. In graphics
mode
0, the
COLOR
statement
has
no
effect
on
the
color
of
the character. Table 9-7 lists the characters
that
correspond
to
the
COLOR
statement in graphics
mode
o.
EXAMPLE
10 GRAPHICS 0
20
FOR
I = 1
TO
5
30
READ X
40
COLOR
X
50 PLOT 10 + I, 10
60
NEXT
I
70
DATA
65,
84,
65,
82
,
73
I n the previous example, the
word
AT ARI
is
printed
at
the
center
of
the display.
Each
data item
is
read
individually
at
line
30
, and
becomes the
argument
of
the COLOR statement in
line
40.
The
loop
is
repeated 5 times, and each time the COLOR statement
has
a
different
value
as
its argument. It can be seen
from
Table 9-
7 that in graphics
mode
0,
COLOR
65
indicates the character
A.
After
the
COLOR
65
statement
has
been executed, any PLOT
or

Other manuals for Atari 400

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atari 400 and is the answer not in the manual?

Atari 400 Specifications

General IconGeneral
ManufacturerAtari
Model400
TypeHome Computer
Release Year1979
CPUMOS Technology 6502
CPU Speed1.79 MHz
ROM10 KB
Operating SystemAtari OS
KeyboardMembrane keyboard
RAM8 KB (expandable to 48 KB)
GraphicsANTIC and GTIA chips
Sound4 channels
DisplayRF output for connection to TV
StorageOptional cassette tape drive or floppy disk drive
PortsCartridge
Display Resolution320x192 (16 colors)

Related product manuals