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 #41 background imageLoading...
Page #41 background image
Chapter
1
I
System
Calls
Example:
The following program sets the system clock
to
0
and
continuously displays the time. When any character
is
typed, the display stops changing;
typed again, the clock is reset
starts again.
time
ten db
18
d b
"E E
:
0
E
:
E E
,
E
0"
,
1
3
,
10
,"$"
f unc-E6H: 5et-time
E,E,E,E
read-clock: get-time
convert ch,ten,time
convert cl,ten,time[31
convert dh,ten,time[61
display time
dir-console-io
EFFH
J
mP
read-clock
]ne
5tOP
read-kbd
Imp
f
unc-06H
when
any
character is
to
0
and the display
;see
Function
E9H
;for explanation
of
4
;see
Function
ZDH
;see
Function
ZCH
;see
end
of
chapter
;see
end of chapter
;see
end
of
chapter
;see
Function
E9H
;THIS FUNCTION
;ye5,
5top timer
;no,
keep
timer
;running
;see
Function
08H
;start over
39

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