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 #11 background imageLoading...
Page #11 background image
Chapter
1
SYSTEM
CALLS
MS-DOS interrupt and function calls provide a convenient way
to
perform certain primitive functions and make it easier for you
to
write machine-independent programs. This chapter describes
how and when these routines can be called and the process per-
formed by each.
Calling and Returning
You invoke the system calls from Macro Assembler by moving re-
quired data into registers and issuing an interrupt. As some
of
the calls destroy registers, you may have
to
save the register
contents before using a system call.
The system calls are also invoked from any high-level language
that has modules capable of linking with assembly language
modules.
Control is returned
to
MS-DOS in 4 ways:
0
Issue Function Call 4CH:
MUV
AH,4CH
INT
21H
This is the preferred method.
Issue Interrupt 20H:
INT 20H
This method simulates system call OOH.
Prefix):
Jump to location
0
(the beginning of the Program Segment
JMP
0
As
location 0 of the Program Segment Prefix contains an INT
20H instruction, this technique is
1
step removed from tech-
nique
2.
0
Issue Function Call OOH:
MOV
AH,00H
INT 21H
This transfers control
to
location 0 in the Program Segment
Prefix.
9

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