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 #55 background imageLoading...
Page #55 background image
Chapter
1
I
System Calls
Macro
Definition:
search-first macro fcb
mov
dx,offsetfcb
mov
ah,llH
int 21
H
endm
Example:
The following program verifies the existence
of
a
file named
RE-
PORT.ASM
on the disk in Drive
B.
Yes
no
fcb
buffer
crlf
func-1
1
H:
not-there:
continue:
db "FILE EXISTS.
0"
db "FILEDOESNOTEX1ST.O"
db 2,"REPORT
ASM"
db 25 dup
(7)
db 128 dup
(7)
db
1
3
,I
0
,
"
S
"
set-dtabuffer
search-first fcb
cmp al,0FFH
le
not-there
display yes
JmP
continue
display no
display crlf
;see
Function
1AH
;THIS
FUNCTION
;directoryentry found?
;no
;seeFunctionE9H
;seeFunction 09H
;seeFunction 09H
53

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