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 #60 background imageLoading...
Page #60 background image
Chapter
1
I
System Calls
SeqRead
Sequential Read Function Call
14H
Reads a record sequentially. The record pointed
to
by the current
block (offset 0CH) and the current record (offset 20H) fields
of
the FCB
is
loaded at the Disk Transfer Address. The current
block and current record fields are then incremented.
The record size is set
to
the value
at
offset OEH in the FCB.
Entry Conditions:
AH
=
14H
DS:DX
=
pointer
to
the opened
FCB
of
the
file
to
read
Exit Conditions:
If AL
=
00H, the read was completed successfully.
If AL
=
01H, end of file was encountered; there was no data in
If
AL
=
02H, there was not enough room
at
the Disk Transfer
If AL
=
03H, end of file was encountered;
a
partial record was
Macro
Definition:
the record.
Address
to
read
1
record; the read was canceled.
read and padded
to
the record length with zeroes.
read-seq macro fcb
mov
dx,offsetfcb
mov
ah,l4H
int
21
H
endm
58

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