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 #44 background imageLoading...
Page #44 background image
Chapter
1
I
System
Calls
ConStringOutput
Display
String Function
Call
09H
Displays
a
string of characters. Each character is checked
for CONTROL-C. If
a
CONTROL-C
is
detected, an inter-
rupt
23H
is
executed.
Entry Conditions:
AH
=
09H
DS:DX
=
pointer to
a
string to be displayed terminated by
Macro Definition:
a
$
(24H)
display macro string
mov dx,offset string
mov ah,09H
int
21
H
endm
Example:
The following program displays the hexadecimal code
of
the
key that is typed.
table
9
ixt een db
16
crlf db 13,10,
"0"
db
"0
1
2
3
4
5
6
7
8
9
AB
C
D
E
F
"
result db
88
-
00H"
func-09H:read-kbd-and-echo
convert al,sixteen,re5ult[31
display result
J
mP
f unc-09H
see text for
explanatior
of
$
see Function 01H
3ee end of chapter
THIS
FUNCTION
do
it
again
42

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