Spent some time studying and coming up with a circuit interfacing interrupts for an '816 processor.
In emulation mode interrupts are handled via ROM vectors as normal. The interesting part occurs for interrupts handled in native mode.
The encoded interrupt level (one of sixteen) is used to form part of the vector address. Vector targets are spaced four bytes apart. This
then gives a target area of 64 bytes. The upper 8 bits of the vector address are stored in a latch. This allows any page in the lowest 64k
bank of memory to be used as a target address.
Bits 6,7 of the vector are fed from an external eight-bit addressable latch which serves multiple purposes.
I think the following circuit should work. (Sorry about the color, I haven't figured out how to get the CAD program to output mono.)
Attachment:
File comment: ISA65816 Interrupt control logic
IntCtrl2.png [ 34.3 KiB | Viewed 1381 times ]