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 #57 background imageLoading...
Page #57 background image
Chapter
1
I
System Calls
Example:
The following program displays the number
of
files on the disk
in Drive
B.
message
files
ten
ten
fcb
buffer
func-12H:
search-dir:
done:
a1 1-done:
db
db
0
db
10
db
10
"No
f
I
I
es"
,
1
0
,
1
3,
"$'I
db
2,
"7 7
7
7 7 7
77
7
7 7"
db
db
set-dtabuffer
search-first fcb
CmP a1,BFFH
le
all-done
i
nc files
search-next fcb
CmP a1,EFFH
le
done
inc file5
Imp
search-dir
convert files,ten,me55age
display message
;see Function 1AH
;5ee
Function
11H
;directoryentry found?
;no,nofile5 ondisk
;yes, increment file
;counter
;THISFUNCTION
;directoryentry found7
;no
;yes, increment file
;counter
;check again
;seeendof chapter
:seeFunction 09H
55

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