EasyManuals Logo

Atari 800 User Manual

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
Page #202 background imageLoading...
Page #202 background image
200 User's
Handbook
to
the
Atari 400/ 800
Computers
immediately
write
data to a newly
opened
file,
an
error
may
result
if
an
attempt
is
later made
to
read the file.
If
the file
was
opened
for
input,
the program must read data
from
the
file
with
a
GET
or
INPUT# statement.
If
the
program
fails
to
read data
from
the
open
file,
an
error
may
occur
if
the
program
subsequently attempts to read data in the program.
Closing
Data
Files
Once
an
open
file
has
been accessed, it
is
important
to
close that
file
so
that the file's channel can be assigned elsewhere.
Also,
if
the channel
is
open
for
output,
closing it causes any
remaining
data in the cassette
bufferto
be
output
followed
by
an
end-of-file
record.
If
the
open
file
is
not
closed, any remaining
data in the cassette
buffer
may be lost.
The
following
CLOSE
statement,
CLOSE
#4
will
close channel
4.
All
open files are closed automatically
when
an
END
or
RUN
statement
is
executed,
or
when
a program's last statement
is
executed (only in the program mode).
Writing
to a
Data
File
As
mentioned
previously, the PRINT# and
PUT
statements can be
used to send data
from
RAM
to the cassette data file. Both
PRI
NT#
and
PUT
specify a n
open
channel
as
thei r fi
rst
parameter.
The data
being
output
will be sent
via
the channel indicated.
That
channel must be open.
The
PRINT# statement
uses
the
following
configuration
when
used to
output
data to a cassette file.
PRINT
#c
hanne/; expression
...

Other manuals for Atari 800

Questions and Answers:

Question and Answer IconNeed help?

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

Atari 800 Specifications

General IconGeneral
ProcessorMOS Technology 6502
Processor Speed1.79 MHz
ROM10 KB
GraphicsANTIC and GTIA chips
Release Year1979
Display Resolutionup to 320 x 192
Colors128 colors
Sound4 channels
StorageCartridge, cassette, floppy disk
PortsCartridge, serial, monitor
Operating SystemAtari OS

Related product manuals