ACIA interrupt mode 2 #297
-
In HBIOS/acia.asm, the code generates an error: "acia device does not support intmode 2". |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The ACIA has no inherent support for placing a Z80 mode 2 interrupt vector on the bus like Zilog peripheral chips such as PIO, CIO, CTC, etc. As such it cannot create a mode 2 interrupt without some help. I guess it would be more appropriate to say that the ACIA does not support intmode 2 by itself. Does your system have a mechanism for generating a mode 2 interrupt vector from the ACIA? If so, then it should be possible to support it. Thanks, Wayne |
Beta Was this translation helpful? Give feedback.
Sounds like a nice solution. I don't know enough about AHDL or CPLD to fully comprehend your design. If it is is allowing an ACIA to generate the IM2 interrupt vectors that the Z80 wants, then you could certainly modify the ACIA driver to remove the IM2 constraint. The IM2 constraint is in the ACIA driver because interrupt mode 2 will fail for all other ACIA implementations.
As far as I know, this is a one-off design. If it is being distributed to a wider audience, we could consider incorporating support for it in mainstream RomWBW.
Thanks,
Wayne