Section B:
Hardware interface
************************************************************************
*
*
*
2 - Check Console State
*
*
*
************************************************************************
On entry:
On exit :
AL
=
State Code
All
devices mapped to the console input
via
the CONIN:
bit vector
are
checked for a character pending.
If at least one of these devices has a
character ready for input,
registers A and L are assigned the character
which would be read, otherwise a value of 00H.
Example:
LD
C,50
EOS
function code
LD
DE,PARAMS
Parameters
CALL
5
Call
EOS
OR
A
Ready
for
input
JP
NZ,INPRDY
PARAMS:
DB
2
Hardware function
No •
DB
•
ow
•
ow
•
ow
•
EOS System manual
Daeumling & Zimmermann
Page 138