EasyManuals Logo
Home>Atari>Desktop>XL

Atari XL User Manual

Atari XL
262 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 #122 background imageLoading...
Page #122 background image
112
The
Aten
XL
Handbook
contents
of
register
1. A
full
table
of
all
these
codes
is
given
in
Appendix
7.
The
following
program
demonstrates
how
multi-
coloured
messages
can
be
displayed
on
the
mode
1
and
2
screens
using
the
COLOR
and
PLOT
commands.
5
REM
MODE
1 & 2 COLOR/PLOT
DEMO
10
MODE=2
20 GRAPHICS
MODE
30 FOR
CHAR=O
TO
18
40
READ
COLR
50
COLOR
COLR:PLOT CHAR,8/MODE
60
NEXT
CHAR
70
GOTO
70
500
DATA
52,32,100,201,230,70,101
510
DATA
210,229,78,116,32,195,239
520
DATA
76,111,213,242,83
The
DATA
statements
in
lines
100
to
120
contain
codes for
the
characters
and
their
associated
colour
registers
taken
from
the
table
in
Appendix
7,
and
these
are
selected
one
at
a
time
and
plotted
by
the
loop
between
line
30
and
60.
The
program
will
work
equally
well
in
mode 1.
The
colours
in
which
the
characters
are
displayed
are
the
default
values
for
each
of
the
colour
registers,
as
shown
in
the
table
opposite.
The
program
can
be
made
more
interesting
by
changing
these
registers
to
give
different
colours
and
luminances.
If
you
do
change
the
value
.in a
register
with
the
SETCOLOR
command,
all
characters
whose
colour
is
determined
by
that
register
will
instantly
take
on
the
new
colour.
You
can
see
this
by
deleting
line
70
and
adding
the
following
lines
to
the
last
program:
100
FOR
COLR=O
TO
15

Questions and Answers:

Question and Answer IconNeed help?

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

Atari XL Specifications

General IconGeneral
BrandAtari
ModelXL
CategoryDesktop
LanguageEnglish

Related product manuals