@Override
    public void set_irq_line(int irqline, int state) {
        if(errorlog!=null) fprintf(errorlog, "M6809#%d set_irq_line %d, %d\n", cpu_getactivecpu(), irqline, state);
    	m6809.irq_state[irqline] = state;
    	if (state == CLEAR_LINE) return;
    	CHECK_IRQ_LINES();
    }