EasyManuals Logo

Tandy 1000 Programmer's Reference Guide

Default Icon
251 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #195 background imageLoading...
Page #195 background image
Chapter
6
I
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
Function Descriptions:
Read Keyboard
Read the next character typed
at
the keyboard. Return the
AS-
CII 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
=
ASCII
value
of
character
AH
=
keyboard scan code
Scan Keyboard
Set up the zero flag
(Z
flag)
to
indicate whether a character is
available
to
be read from the keyboard
or
not. If a character
is
available, return the
ASCII
value
of
the character and the key-
board scan code. The entry remains in the keyboard buffer (non-
destructive read).
Entry Conditions:
AH
=
1
Exit Conditions:
Z
=
no character is available
NZ
=
a
character is available, in which case:
AL
=
ASCII
value
of
character
AH
=
keyboard scan code
193

Other manuals for Tandy 1000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tandy 1000 and is the answer not in the manual?

Tandy 1000 Specifications

General IconGeneral
ProcessorIntel 8088
Processor Speed4.77 MHz
RAM128 KB (expandable to 640 KB)
Operating SystemMS-DOS 2.11
ManufacturerTandy Corporation
Release Year1984
StorageSingle or double 5.25" floppy disk drive (360 KB), optional hard drive
SoundTandy 3-voice sound
PortsParallel, Serial
GraphicsCGA (Color Graphics Adapter)
Graphics Modes320x200, 640x200

Related product manuals