Keyboard I/O Interrupt Routine - Sanyo MBC-550 Series User Manual

Table of Contents

Advertisement

Interrupt 16
Keyboard I/O Interrupt Routine
These routine provide keyboard support.
INPUT
(AH)=0
Read the next ASCII character struck from
the keyboard
Return the result in (AL), scan code in (AH)
(AH)=1
Z flag to indicate if a code is
Set the
available to be read
(ZF)=1 — No code available
(ZF)=0 — Code is available
IF ZF = 0
to be read is in AX, and the entry remains
in the buffer.
the next character in the buffer
5-27

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents