EasyManuals Logo

Atari 800 Basic Reference Manual

Atari 800
122 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 #31 background imageLoading...
Page #31 background image
INPUT/OUTPUT
DEVICES
5
INPUT/OUTPUT
COMMANDS
AND
DEVICES
This
section
describes
the
input
/
output
devices
and
how
data
is
moved
between
them.
The
commands
explained
in
this
section
are
those
that
allow
access
to
the
input
/
output
devices.
The
input
commands
are
those
associated
with
getting
data
into
the
RAM
and
the
devices
geared
for
accepting
input
.
The
output
com-
mands
are
those
associated
with
retrieving
data
from
RAM
and
the
devices
geared
for
generating
output
.
The
commands
described
in
this
section
are:
CLOAD
CSAVE
DOS
ENTER
INPUT
LOAD
LPRINT
NOTE
OPEN
/
CLOSE
POINT
PRINT
PUT
/
GET
READ
/
DATA
SAVE
STATUS
XIO
The
hardware
configuration
of
each
of
the
following
devices
is
illustrated
in
the
individual
manuals
furnished
with
each.
The
Central
Input/Output
(CIO)
sub-
system
provides
the
user
with
a
single
interface
to
access all
of
the
system
peripheral
devices
in
a (largely)
independent
manner.
This
means
there
is
a
single
entry
point
and
a
device-independent
calling
sequence.
Each
device
has
a
symbolic
device
name
used
to
identify
it;
e.g.,
K:
for
the
keyboard.
Each
device
must
be
opened
before
access
and
each
must
be
assigned
to
an
Input/Output
Con-
trol
Block
(IOCB).
From
then
on,
the
device
is
referred
to
by
its
IOCB
number.
ATARI
BASIC
contains
8
blocks
in
RAM
which
identifies
to
the
Operating
System
the
information
it
needs
to
perform
an
I/0
operation.
This
information
includes
the
command,
buffer
length,
buffer
address,
and
two
auxiliary
control
variables.
AT
ARI BASIC
sets
up
the
lOCH's,
but
the
user
must
specify
which
IOCB
to
use.
BASIC
reserves
IOCB
ItO
for
1/0
to
the
Screen
Editor,
therefore
the
user
may
not
request
IOCB
11'0.
The
GRAPHICS
statement
(see Section
9)
opens
IOCB
11'6
for
input
and
output
to
the
screen.
(This
is
the
graphics
window
S:).
IOCB
11'7
is
used
by
BASIC
for
the
LPRINT, CLOAD,
and
CSA
VE
commands.
The
IOCB
number
may
also
be
referred
to
as
the
device
(or
file)
number.
IOCB's 1
through
5
are
use.d
in
opening
the
other
devices
for
input/output
operations.
If
IOCB
11'7
is
in
use,
it
will
prevent
LPRINT
or
some
of
the
other
BASIC
I/0
statements
from
being
performed.
Keyboard:
(K:)
Input
only
device.
The
keyboard
allows
the
user
to
read
the
converted
(ATASCII)
keyboard
data
as
each
key
is
pressed.
Line
Printer:
(P:)
Output
only
device.
The
line
printer
prints
ATASCII
characters,
a
line
at
a
time.
It
recognizes
no
control
characters.
Program
Recorder:
(C:)
Input
and
Output
device.
The
recorder
is a
read/write
device
which
can
be
used
as
either,
but
never
as
both
simultaneously.
The
cassette
has
two
track
s
for
sound
and
program
recording
purposes.
The
audio
track
cannot
be
recorded
from
the
ATARI
system,
but
may
be
pla
y
ed
back
through
the
television
speaker.
I/0
Commands
and
Devic
es
23

Table of Contents

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