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 #34 background imageLoading...
Page #34 background image
Chapter
1
I
System
Calls
Abort
Terminate
Program
Function Call
OOH
Terminates
a
program. This function is called by Interrupt
20H, and performs the same processing.
The following exit addresses are restored from the specified
offsets in the Program Segment Prefix:
Program terminate
Critical error
CONTROL-C
OAH
OEH
12H
All file buffers are written to disk. Be sure
to
close all
files that have been changed in length before calling this
function. If a changed file is not closed, its length will
not be recorded correctly in the disk directory. See Func-
tion Call 10H
for
a
description
of
the Close File call.
Entry Conditions:
AH
=
OOH
CS
=
segment address
of
the
Program Segment Prefix
Macro Definition:
terminate-program macro
xor ah,ah
int
21
H
endm
Example:
;CS
must
be
equal
to
PSP
values given
at
program start
;(E5
and
DS
values)
mov
ah,0
int
21H
;There are
no
returns from this interrupt
32

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