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 #149 background imageLoading...
Page #149 background image
Chapter
1
I
System
Calls
;I
WANTlength header
;minus
1
in cx
dec
cx
xor di,di
mov output-buffer[dil,al
inc di
loop move-header
;FIX
THIS'
convert sector-num[ll,sixteen,
add di
,Z
convert sector num,sixteen,
display output-buf fer
blank-line
2
mov cx,
16
call convert-line
display output-buffer
loop dump-it
blank-line
3
display continue-prompt
get-char-no-echo
display crlf
POP
cx
ret
mov-header: mov al,header[dil
output-buffertdil
output-buffer[dil
dump-it
:
call clear-line
display-screen endp
;
ENDPROCEDURES
subttlMA1N PROCEDURES
Page
+
main-procedure: call setup
check-done: CmP sectors-to-dump,zero
1
n9
a1 I-done
call read-disk
mov cx,sectors-read
display-it: call display-screen
call display-screen
i
nc sector-number
loop display-it
Imp check-done
all-done: display end-st
r
ing
get-char-no-echo
code ends
end start
~
147

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