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 #85 background imageLoading...
Page #85 background image
Memory
Management
75
the
memory.
You
can
tryout
PEEK
and
POKE
by
using
them
to
control
the
display.
Type
in
these
instructions:
GRAPHICS O:POKE
82,20
The
cursor
will
jump
to
the
middle
of
the
screen,
and
from
now
on
you
will
only
be
able
to
use
the
right-hand
side
of
the
display.
This
is
because
the
XL
uses
location
82 to
control
the
width
of
the
screen
-
this
location
normally
contains
the
value
2,
resulting
in
a2
column
left-hand
margin.
The
POKE
command
placed
a 20
in
this
location,
causing
the
left-hand
margin
to
move
to
column
20.
If
you
now
type:
PRINT
PEEK(82)
the
XL
will
print
the
answer
20,
telling
you
that
the
number
in
location
82 is 20.
(It
should
be,
as
you've
just
put
it
there!)
Before
you
continue,
type:
POKE
82,2
which
will
reset
the
margins
to
their
normal
positions.
What
makes
the
POKE
and
PEEK
commands
so
important
is
that
not
all
the
memory
addresses
of
the
XL
are
used
for
memory.
Some
of
the
addresses.
are
used
to
point
to
the
control
registers
of
the
special
chips
which
control
the
sound
and
graphics
facilities.
This
means
that
the
chips
can
be
controlled
simply
by
writing
a
number
into
these
control
registers
using
the
POKE
command.
These
special
chi
ps
will
be
described
in
the
following
chapters.

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