246
K
A
DAK
AMX 86 Procedures
ajivtw ajivtw
Purpose Write an Interrupt Vector
Used by n Task n IS P n Timer Procedure n Restart Procedure n Exit Procedure
Setup int inttype;
void newproc();
int status;
.
.
status = ajivtw(inttype, newproc);
AX DX ES:BX
Where inttype is the 8086 interrupt type (0-255).
newproc is a pointer to the new interrupt handler.
Results Interrupts are disabled and then restored to their state at the time of the
call.
Status is returned.
AEROK = Call successful
AERIPR = Vector table is not accessible
AMX was launched with access to the Interrupt Vector
Table denied.
Restrictions You must NOT use this procedure to alter the vector entries for the divide
error, overflow trap or bounds error. Use ajitrp for that purpose.
See Also ajitrp, ajivtr, ajivtx