@Override
    public void set_irq_callback(irqcallbacksPtr callback) {
        m6809.irq_callback = callback;
    }
    /*TODO*///
    /*TODO*////****************************************************************************
    /*TODO*/// * Save CPU state
    /*TODO*/// ****************************************************************************/
    /*TODO*///static void state_save(void *file, const char *module)
    /*TODO*///{
    /*TODO*///	int cpu = cpu_getactivecpu();
    /*TODO*///	state_save_UINT16(file, module, cpu, "PC", &PC, 1);
    /*TODO*///	state_save_UINT16(file, module, cpu, "U", &U, 1);
    /*TODO*///	state_save_UINT16(file, module, cpu, "S", &S, 1);
    /*TODO*///	state_save_UINT16(file, module, cpu, "X", &X, 1);
    /*TODO*///	state_save_UINT16(file, module, cpu, "Y", &Y, 1);
    /*TODO*///	state_save_UINT8(file, module, cpu, "DP", &DP, 1);
    /*TODO*///	state_save_UINT8(file, module, cpu, "CC", &CC, 1);
    /*TODO*///	state_save_UINT8(file, module, cpu, "INT", &m6809.int_state, 1);
    /*TODO*///	state_save_UINT8(file, module, cpu, "NMI", &m6809.nmi_state, 1);
    /*TODO*///	state_save_UINT8(file, module, cpu, "IRQ", &m6809.irq_state[0], 1);
    /*TODO*///	state_save_UINT8(file, module, cpu, "FIRQ", &m6809.irq_state[1], 1);
    /*TODO*///}
    /*TODO*///
    /*TODO*////****************************************************************************
    /*TODO*/// * Load CPU state
    /*TODO*/// ****************************************************************************/
    /*TODO*///static void state_load(void *file, const char *module)
    /*TODO*///{
    /*TODO*///	int cpu = cpu_getactivecpu();
    /*TODO*///	state_load_UINT16(file, module, cpu, "PC", &PC, 1);
    /*TODO*///	state_load_UINT16(file, module, cpu, "U", &U, 1);
    /*TODO*///	state_load_UINT16(file, module, cpu, "S", &S, 1);
    /*TODO*///	state_load_UINT16(file, module, cpu, "X", &X, 1);
    /*TODO*///	state_load_UINT16(file, module, cpu, "Y", &Y, 1);
    /*TODO*///	state_load_UINT8(file, module, cpu, "DP", &DP, 1);
    /*TODO*///	state_load_UINT8(file, module, cpu, "CC", &CC, 1);
    /*TODO*///	state_load_UINT8(file, module, cpu, "INT", &m6809.int_state, 1);
    /*TODO*///	state_load_UINT8(file, module, cpu, "NMI", &m6809.nmi_state, 1);
    /*TODO*///	state_load_UINT8(file, module, cpu, "IRQ", &m6809.irq_state[0], 1);
    /*TODO*///	state_load_UINT8(file, module, cpu, "FIRQ", &m6809.irq_state[1], 1);
    /*TODO*///}
    /*TODO*///
    /*TODO*///void m6809_state_save(void *file) { state_save(file, "m6809"); }
    /*TODO*///void m6809_state_load(void *file) { state_load(file, "m6809"); }