Download Print this page

Motorola EXORdisk II User Manual page 313

Advertisement

INPUT/OUTPUT FUNCTIONS
25.3 -- Device Independent I/O Functions
data
characters
will
be echoed back to the console display
mechanism
as
they
are
entered
from
the
keyboard.
This
function
is
the
same
as
ror
the
.KEYIN system function
described earlier in this chapter (section
25.2.1).
ENTRY PARAMETERS:
EXIT CONDITIONS:
x
=
The address of an
IOCB
which has been
properly
reserved
and opened
(i.
e.,
no errors
occu~red)
via
the
.RESRV
and . OPEN functions, respectively.
IOCDTT
must have the ItS" bit set to zero
(record 1/0).
The
mode
flag
( b it
"M") must speci;y either the input or
the update modes as configured
prior
to opening the file.
IOCDBS must contain the address where the
first byte of the
record
is
to
be
stor1!d.
IOCDBE must contain the address where the
last byte of the maximum size
record
is
to
be
stored.
The
buffer
described by
IaCDnS
and
IOCDBE
must
be
large
enough
to accommodate the
largest. possible record that
mag
be
encounter~d
in the file.
IaCSUF
may
be configured by the calling
program
to
contain
a
displayable
character
in
its
~irst
byte
if
the
input device is the
system
console.
In
this
case,
the character will be
shown on
the
console
as
an
input
prompt
each time the .GETRC function
is
invoked.
IaCSUF
must
not
be
changed
after
opening
a
Tile when
other devices are used.
IOCFDF must have been
con~igured
for
a
valid file format on a previous. OPEN
cal 1 (
FMT
=
3, 5
I
0 l'
7).
A is indeterminate.
B
=
The contents of:
the
10CSTA entry.
!r
no
errors
occurred, B will be zero.
A non-zero value
indicates
that
an
error occurred.
X is unchanged.
C = 0
=
and Z
=
1
0>'
Th e
if
no errors occurred (B
remainder
or
CC
is
-,
Page
25-40
\

Advertisement

loading

This manual is also suitable for:

Exordisk iii