EasyManua.ls Logo

Atari 800

Atari 800
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...
158 User's
Handbook
to
the
Atari 400/ 800
Computers
EXAMPLE
POINT
#3
,
SECT,
BYTE
In the preceding example, the file
pointer
for
the disk file
opened
through
channel
#3
is
moved to
the
sector specified by
the
variable,
SECT,
and byte
within
that sector specified by the
variable,
BYTE.
POKE
(pOK.)
The
POKE
statement
is
used
to
store one byte
of
information
in a
particular
memory
location.
CONFIGURATION
POKE
a, b
The first argument
of
a
POKE
statement
is
the
memory
location.
If
a
POKE
statement specifies a
memory
location that does
not
exist, the
POKE
statement
has
no
effect. Also, if a
POKE
statement specifies a
memory
location that
is
part
of
the
ROM
,
the
POKE
statement
has
no effect.
The second argument
of
a
POKE
statement
is
the value that
is
to
be
stored at
the
specified
memory
location. The value
of
the
second
argument
represents one byte.
As
a result, the value must
be
an
integer between 0 and
255.
If
either
of
the arguments
of
a
POKE
statement
is
not
an
integer,
it
is
rounded
off. A value
error
occurs
if
the
memory
location
specified
is
greater than
65535
or
the value
of
the
second
argument exceeds
255.
A value
error
also results
if
either
of
these
arguments are negative.
If
the
POKE
statement
is
not
used carefully, it can seriously
disrupt
the
operation
of
the computer.
Appendix
E contains
information
regarding
commonly
used
memory
locations.

Other manuals for Atari 800

Related product manuals