1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-01-15 08:02:11 +00:00

KA10: Fixed ITS support.

This commit is contained in:
Richard Cornwell 2019-10-16 08:49:11 -04:00
parent baa7791b97
commit f0cc9bd94b

View File

@ -495,7 +495,9 @@ rh_devirq(uint32 dev, int addr) {
void rh_setattn(struct rh_if *rhc, int unit)
{
rhc->attn |= 1<<unit;
if ((rhc->status & IADR_ATTN) != 0)
if (rhc->imode != 2 && rhc->status & BUSY)
return;
if ((rhc->status & IADR_ATTN) != 0)
rh_setirq(rhc);
}