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 #71 background imageLoading...
Page #71 background image
Chapter
1
I
System
Calls
RandomRead
Random Read Function Call
21H
Performs a random read of a record. The current block (offset
0CH) and current record (offset 20H) fields in the
FCB
are set
to
agree with the relative record field (offset 21H). The record ad-
dressed by these fields is then loaded
at
the Disk Transfer
Address.
Entry Conditions:
AH
=
21H
DS:DX
=
pointer to the opened
FCB
of
the file to read
Exit Conditions:
If AL
=
IfAL
=
If
AL
=
If AL
=
Macro Definition:
read-ran macro fcb
00H, the read was completed successfully.
01H, end
of
file was encountered; no data is in the
record.
02H, there was not enough room at the Disk Transfer
Address
to
read
1
record; the read was canceled.
03H, end of file was encountered; a partial record was
read and padded
to
the record length with zeroes.
mQV
dx,offsetfcb
mov
ah,21H
Int
21
H
endm
69

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