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 #26 background imageLoading...
Page #26 background image
Chapter
1
I
System
Calls
Terminate But Stay Resident
Interrupt
27H
Used
to
make a piece
of
code remain resident in the sys-
tem after its termination. This call is typically used in
.COM
files
to
allow some device-specific interrupt handler
to
remain resident to process asynchronous interrupts.
When Interrupt
27H
is executed, the program terminates
but is treated as an extension
of
MS-DOS.
It remains res-
ident and is not overlaid by other programs when it
terminates.
This interrupt provides compatibility with earlier versions
of
MS-DOS.
New programs should use the function
31H,
Keep Process.
Entry Conditions:
CS:DX
=
first byte following last byte of
code
in the
Macro
Definition:
program
stay-resident macro last-instruc
mov dx,offset last-instruc
inc dx
int
27H
endm
Example:
;CS
must be equal
to
PSP
value5 given
at
program start
;(ES
and DS values)
rnov DX,LastAddress
int
27H
;There is no return from this interrupt
24

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