Keyboard - Tandy 1000 SL Technical Reference Manual

Table of Contents

Advertisement

BIOS Services
Keyboard
16 hex (22 dec)
Function Summary
AH
=
0:
Read keyboard (destructive with wait)
AH
=
1:
Scan keyboard (nondestructive, no wait)
AH
=
2:
Get current shift status
AH
=
5:
Store ASCII character and scan code in
AH
=
10H:
Extended keyboard read
AH
=
11H:
Extended ASCII status
AH
=
12H:
Extended shift status read
keyboard buffer
Function Descriptions
Read Keyboard
Read the next character typed at the keyboard. Return the ASCII value
of the character and the keyboard scan code, removing the entry from
the keyboard buffer (destructive read).
Entry Conditions
AH
=
0
Exit Conditions
AL
AH
=
keyboard scan code
=
ASCII value of character
3.

Advertisement

Chapters

Table of Contents
loading

Table of Contents