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 #62 background imageLoading...
Page #62 background image
Chapter
1
I
System
Calls
SeqWrite
Sequential Write
Function Call
15H
Writes
a
record sequentially. The record pointed
to
by the cur-
rent block (offset OCH) and the current record (offset 20H) fields
of
the
FCB
is written from the Disk Transfer Address. The cur-
rent block and current record fields are then incremented.
The record size is set to the value at offset OEH in the
FCB.
If
the record size is less than a sector, the data at the Disk Trans-
fer Address is written
to
a buffer. The buffer
is
written to disk
when it contains a full sector
of
data, when the file is closed, or
when Function Call ODH (Reset Disk) is issued.
Entry Conditions:
AH
=
15H
DS:DX
=
pointer to
the
opened
FCB
of
the
file
to write
Exit Conditions:
If AL
=
00H, the write was completed successfully.
If AL
=
01H, the disk was full; the write was canceled.
If AL
=
02H, there was not enough room in the disk transfer
Macro
Definition:
segment
to
write
1
record; the write was canceled.
write-5eq macro fcb
mow
dx,offsetfcb
mow
ah,lSH
int
21
H
endm
60

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