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 #15 background imageLoading...
Page #15 background image
Chapter
1
I
System
Calls
Program
Terminate
Interrupt
20H
Causes the current process
to
terminate and returns control
to
its parent process. All open file handles are closed and the disk
buffer is written to disk. All files that have changed in length
should be closed before issuing this interrupt. (See Function
Calls 10H and 3EH
for
descriptions
of
the Close File function
calls.)
The following exit addresses are restored from the Program Seg-
ment Prefix:
Exit Address Offset
Program Terminate
Critical Error
CONTROL-C
OAH
OEH
12H
Note:
Interrupt 20H is provided
for
compatibility with earlier
versions
of
MS-DOS.
New programs should use Function Call
4CH, Terminate
a
Process.
Entry Conditions:
CS
=
segment address
of
Program Segment Prefix
Macro Definition:
terminate macro
int
20H
endm
Example:
;CS
must
be
equal
to
PSP
values given
at
program start
;(ES
and
DS
values)
INT
28H
;There
15
no
return from
this
interrupt
13

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