39c39
< readIRR(true), initControlWord(0)
---
> readIRR(true), initControlWord(0), autoEOI(false)
93a94,96
> if (!expectICW4) {
> autoEOI = false;
> }
205a209
> autoEOI = bits(val, 1);
207c211,212
< bits(val, 1) ? "Automatic" : "Normal");
---
> autoEOI ? "Automatic" : "Normal");
>
268c273,277
< ISR |= 1 << line;
---
> if (autoEOI) {
> handleEOI(line);
> } else {
> ISR |= 1 << line;
> }