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 #79 background imageLoading...
Page #79 background image
Chapter
1
I
System Calls
Setvector
Set Interrupt Vector
Function
Call
25H
Sets a particular interrupt vector. The operating system can
then manage the interrupts on
a
per-process basis. This call sets
the address in the vector table for the specified interrupt to the
address
of
the interrupt handling routine in
AL.
Note that programs should never set interrupt vectors by writing
them directly in the low memory vector table.
Entry Conditions:
AH
=
25H
AL
=
number
of
the interrupt to set
DS:DX
=
address
of
the interrupt handling routine
Macro Definition:
set-vector macro
push
mov
mov
mov
mov
int
POP
endm
mQV
Example:
Id5 dx,intvector
mov ah,ZSH
mov a1,intnumber
int
21
H
:Therearenoerrors returned
interrupt,seg-addr,off-addr
d5
ax,seg-addr
d5 ,ax
dx,off-addr
a1,interrupt
ah,25H
21
H
d5
77

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