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 #249 background imageLoading...
Page #249 background image
Atari
810
Disk
Drive
247
channel
number
to
be assigned elsewhere.
Also,
if
a
file
that
was
open
for
output
is
not
properly
closed, data
may be lost. Closing
an
output
file causes any
remaining
data in
the disk
drive
buffer
to
be
output
followed
by an
end-of-file
record. If the
open
file
is
not
properly
closed, the data
in
the
disk
drive
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).
However
,
it
is
good
programming
practice
to
close any
open
files
with
the CLOSE
statement.
Writing to a Data
File
Once
a file has been
opened
, data can be
written
to
that
file
using
the
PRINT#
or
PUT
statements.
The
PRINT# statement
uses
the
following
configuration
when
used
to
output
data
to
a disk file.
PRINT
#channe/;
expression
channel
indicates the channel
to
be used
to
send the
output.
Use
the
channel
assigned
to
the file in
the
OPEN statement.
expression
consist
of
one
or
more
string
or
numeric
values
to
be
output.
These values are
output
as
ASCII values.
Data
is
output
to
the disk
drive
via
the disk
drive
buffer.
The disk
drive
buffer
stores data
output
from
PRINT# statements
until
the
buffer
fills
or
an
end-of-line
character
is
encountered.
The disk
drive
buffer
has
a capacity
of
125
characters.
Therefore,
data
will
be
output
from
the
buffer
to
the
diskette
in
125

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