45a46,58
> // Interrupt Request Register
> uint8_t IRR;
> // In Service Register
> uint8_t ISR;
> // Interrupt Mask Register
> uint8_t IMR;
>
> bool edgeTriggered;
> bool cascadeMode;
> bool expectICW4;
> bool readIRR;
> int initControlWord;
>
57a71,72
> initControlWord = 0;
> readIRR = true;