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 #94 background imageLoading...
Page #94 background image
Chapter
1
I
System
Calls
Example:
The following program copies the contents of a single sided
disk in Drive
A
to
the disk in Drive
B,
verifying each
write.
It
uses a buffer of
32K
bytes.
on
off
1
0
prompt db "Source in A,target in B",13,10
start dw
0
buffer db
64
dup (512 dup(7)) ;64 ~iectors
db "Any key to
start.
$"
f
unc-2DH: display prompt
read-kbd
verify on
mov
CX,~
copy: push
CX
ab5-di5k-read 0,bu
abs-disk-write 1,bu
add star
POP cx
loop
COPY
verify off
disk-read 0,bu
abs-disk-write
add star
POP cx
loop COPY
verify off
fer,64,start
fer,64,start
,64
fer,64,start
;see Function 09H
see Function
08H
THIS
FUNCTION
copy 64 sectors
5
times
save counter
5ee
Interrupt
25H
see
Interrupt 26H
do next
64
5ectors
restore counter
do
it
again
THIS
FUNCTION
5ee Interrupt 25H
,buffer,64,start
see Interrupt 26H
do
next 64 sectors
restore counter
;do
it
again
92

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