User`s manual

PK2100
Appendix D: I/O Map and Interrupt Vectors s D-7
Jump Vectors
These special interrupt vectors occur in a different manner. Instead of
loading the address of the interrupt routine from the interrupt vector, these
interrupts cause a jump directly to the address of the vector, which will
contain a jump instruction to the interrupt routine. This is an example of
such a vector.
0x66 nonmaskable power-failure interrupt
Since non-maskable interrupts can be used for Dynamic C communica-
tions, the interrupt vector for power failure is normally stored just in front
of the Dynamic C program. A vector may be stored there by the command
#JUMP_VEC NMI_VEC name
The Dynamic C communication routines relay to this vector when the
nonmaskable interrupt is caused by a power failure rather than by a serial
interrupt.
Table D-4. Interrupt Vectors for Z180 Internal Devices
Address Name Description
0x00 INT1_VEC Expansion bus attention INT1 vector.
0x02 INT2_VEC INT2 vector, can be jumpered to output of
the real-time clock for periodic interrupt.
0x04 PRT0_VEC PRT timer channel 0
0x06 PRT1_VEC PRT timer channel 1
0x08 DMA0_VEC DMA channel 0
0x0A DMA1_VEC DMA channel 1
0x0C CSIO_VEC Clocked Serial I/O
0x0E SER0_VEC Asynchronous Serial Port Channel 0
0x10 SER1_VEC Asynchronous Serial Port Channel 1