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 #147 background imageLoading...
Page #147 background image
Chapter
1
I
System Calls
subttl ADDRESSABILITY
Page
+
code segment
start:
subttl PROCEDURES
Page
+
;
PROCEDURES
;READ-DISK
read-dis
k
get-sector:
done:
read-disk
;CLEARLINE
clear-line
move-blank:
clear-line
;PUT-BLANK
put-blank
assume
mov
mov
mov
mov
mov
Imp
proc;
CmP
Jle
mov
mov
mov
mov
CmP
]'e
mov
push
int
POPf
POP
sub
add
mov
xor
ret
endp
proc;
push
mov
xor
mov
i
nc
POP
ret
endp
loop
proc;
mov
inc
ret
cs:code,ds:data,ss:stack
ax ,data
ds ,ax
ax,
5
tack
55,ax
sp,of
f
set stack-top
main-procedure
5ectors_to_dump,zero
done
bx,offset input-buffer
dx,start-sector
a1,disk-b
cx,sectors-per-read
cx,sectors-to-dump
get-sector
cx,sectors-to-dump
di sk-read
cx
cx
sectors-to-dump,cx
start-sector,cx
sectors-read,cx
51,51
cx
cxJ7
bx,bx
output-buffer[bxl,"
"
bx
mov-b Ian
k
cx
output buffer[dil,"
"
di
145

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