AMX 86 Procedures
K
A
DAK
243
ajispm ajispm
Purpose Make a Conforming ISP Root
This procedure creates an AMX root ISP permitting a standard C function
to serve as an AMX Interrupt Service Procedure.
Used by n Task o IS P o Timer Procedure n Restart Procedure n Exit Procedure
Setup #include "amx831sd.h"
.
.
struct amxisps isproot;
void intproc();
.
.
ajispm(intproc, &isproot);
CX:DX ES:BX
Where intproc is a pointer to a C procedure to be called from the root ISP.
&isproot is a pointer to storage in which a conforming AMX root ISP can
be constructed. The structure amxisps is defined in header file
AMX831SD.H (see Appendix D).
Results Interrupts are untouched.
The pointer to the root ISP, &isproot, can be installed in the Interrupt
Vector Table using ajivtw or ajivtx.
Restrictions Procedure intproc is NOT an interrupt procedure. It is a standard C
function which is called from the ISP created in isproot. Therefore,
intproc must NOT call AAINT or AAINX and must not end with an IRET
instruction.
See Also ajivtw, ajivtx