public int handler() {
            if ((readinputport(5) & 1) != 0) /* get status of the F2 key */ {
                return nmi_interrupt.handler();	/* trigger self test */
            } else {
                return interrupt.handler();
            }
        }