Exemplo n.º 1
0
void cia2_store(WORD addr, BYTE data)
{
    if ((addr & 0x1f) == 1) {
        /* FIXME: in the upcoming userport system this call needs to be conditional */
        userport_joystick_store_pbx(data);

        if (c64dtv_hummer_adc_enabled) {
            hummeradc_store(data);
        }
        if (ps2mouse_enabled) {
            ps2mouse_store(data);
        }
    }

    ciacore_store(machine_context.cia2, addr, data);
}
Exemplo n.º 2
0
void cia2_store(WORD addr, BYTE data)
{
    if ((addr & 0x1f) == 1) {
        store_userport_pbx(data);

        /* The functions below will gradually be removed as the functionality is added to the new userport system. */
        if (c64dtv_hummer_adc_enabled) {
            hummeradc_store(data);
        }
        if (ps2mouse_enabled) {
            ps2mouse_store(data);
        }
    }

    ciacore_store(machine_context.cia2, addr, data);
}