Tandy 600 Programmer's Reference Manual page 23

Bios programmers
Hide thumbs Also See for 600:
Table of Contents

Advertisement

FUNCTION OCh
-
Flush
Keyboard
Buffer,
Read
Keyboard
AX
BX
CX
DX
SP:
BP:
SI:
Dl:
IP:
FLG
CS
DS
SS
ES
XXXXXXXX
XXXXXXXX
Entry:
AH
= OCh
(function
code)
AL =
00h, 01
h,
08h
(function to
perform
after
flushing
keyboard
buffer
Exit:
AX
=
Depends
upon
entry
value
Function
OCh
will
clear
any
characters
waiting
from
the
keyboard type-ahead
buffer.
After
clearing
the
buffer,
the
function
will
then perform
one
of
the following actions
depending upon
the contents
of register
AL:
AL =
01
h,
08h
-
The
corresponding
HH
O/S
function
will
be
executed.
AL =
any
other value
-
Return immediately
18

Advertisement

Table of Contents
loading

Table of Contents