public int handler() {
            if ((readinputport(2) & 1) != 0) /* Coin */ {
                return nmi_interrupt.handler();
            } else {
                return ignore_interrupt.handler();
            }
        }