Sharp mz-3500 Manual For Use page 173

Business computer eos 3.0
Hide thumbs Also See for mz-3500:
Table of Contents

Advertisement

Section A:
System interface
************************************************************************
*
*
*
6 - Direct Terminal I/0
*
*
*
************************************************************************
On entry:
C
"
On return:
A
06H
output control
State or character, if requested for
Possible logical errors:
- none -
Possible physical errors:
- none -
Differences to CP/M plus:
- none -
Differences to CP/M 2.2 resp. DiCOS:
The parameter E
=
0FEH and E
=
0FDH have been introduced.
This function allows for direct control of the console device.
A
control
code
is
to be passed in register E,
which may take one
of
following
values:
@FFH -Check keyboard for a pending character.
If no character has
been
keyed
in,
a
value of 0 is returned in
register
A;
otherwise
A
holds the character typed in.
0FEH - Check
keyboard
input,
register
A
is set to 0.
state.
If there
is
a character
ready
for
A
is
set to 0FFH, if there is no character,
@FDH -Read
character
from
keyboard.
The system waits
until
a
character is typed, then returns it in register
A.
others - All other values are interpreted as characters to be written
and sent to the console.
As this system call is a pure I/0 function, none of the control features
mentioned at function
1
are available.
EOS System manual
Daeumling & Zimmermann
Page 36

Advertisement

Chapters

Table of Contents
loading

Table of Contents