Download Print this page

Motorola EXORdisk II User Manual page 277

Advertisement

INPUT/OUTPUT FUNCTIONS
EXIT CONDITIONS:
25.2 -- Device Dependent IIO Functions
the
console
ke~board.
The
buffer
must be large enough
to
accommodate
one
more character
than is
specified
in
B.
This
extra
space
must
be
provided
ror
the terminating carriage
return
which
is
placed
into
the
bUTTe'!'".
11= X happens to
contain
the
address,
Or
the
MDOS
command
1
ine
bu.rrer;
then
a
special test is
made
to ensure that
B
is
less
than
80
(decimal>.
If
B
is greater than
79,
it will be automatically
changed
to
79
to prevent the resident MOOS Trom
being
over~ritten
with keyboard data.
A
is indeterminate.
B
=
The number
Or
characters
input
(not
including
the terminating CR).
If B
=
0,
then
0
n 1
y
a CR
wa
sen
t ere
d .
X is unchanged.
CC is indeterminate.
The input
bufTer
contains
the
entered
data,
including
the
terminating
carriage return.
25.2.2 Check for BREAK key -- .CKBRK
The .CKBRK function
examines
the
system
ACIA
for
a
framing
error status, indicating that the BREAK key has been
depressed since the last character was input ¥rom th. console
keyboard.
This Tunction also checks to see if the CTL-W key
has been depressed.
the
CTL-W
is
detected,
the
.
eXBRt.<.
¥unction will enter a loop waiting for any other
characte~
on
the
ke~board
to
be
~ntered
before returning
to
the
calling
program.
ENTRY PARAMETERS:
None.
EXIT CONDITIONS:
A. E. and X registers are unchanged.
C
=
0,
Z
=
1
if
no framing error (no
BREAK
key)
is
detected.
The
remainder
or
CC
is
indeterminate.
c
=
1~
Z"::: ,0 if a Framing error (BREAK
key)
is
detected.
The
remainder
OT
.
CC is indeterminate.
~
No
indication
is
returned
concerning
the CTL-W
ke~.
Page
25-04

Advertisement

loading

This manual is also suitable for:

Exordisk iii