trunk/src/emu/bus/ecbbus/grip.c
r26710 | r26711 | |
477 | 477 | DEVCB_CPU_INPUT_LINE(Z80_TAG, INPUT_LINE_IRQ0), // interrupt |
478 | 478 | DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, grip_device, sti_gpio_r), // GPIO read |
479 | 479 | DEVCB_NULL, // GPIO write |
480 | | DEVCB_NULL, // serial input |
481 | 480 | DEVCB_NULL, // serial output |
482 | 481 | DEVCB_NULL, // timer A output |
483 | 482 | DEVCB_DEVICE_LINE_MEMBER(DEVICE_SELF_OWNER, grip_device, speaker_w), // timer B output |
trunk/src/emu/machine/z80sti.c
r26710 | r26711 | |
123 | 123 | memset(&m_out_int_cb, 0, sizeof(m_out_int_cb)); |
124 | 124 | memset(&m_in_gpio_cb, 0, sizeof(m_in_gpio_cb)); |
125 | 125 | memset(&m_out_gpio_cb, 0, sizeof(m_out_gpio_cb)); |
126 | | memset(&m_in_si_cb, 0, sizeof(m_in_si_cb)); |
127 | 126 | memset(&m_out_so_cb, 0, sizeof(m_out_so_cb)); |
128 | 127 | memset(&m_out_tao_cb, 0, sizeof(m_out_tao_cb)); |
129 | 128 | memset(&m_out_tbo_cb, 0, sizeof(m_out_tbo_cb)); |
r26710 | r26711 | |
142 | 141 | // resolve callbacks |
143 | 142 | m_in_gpio_func.resolve(m_in_gpio_cb, *this); |
144 | 143 | m_out_gpio_func.resolve(m_out_gpio_cb, *this); |
145 | | m_in_si_func.resolve(m_in_si_cb, *this); |
146 | 144 | m_out_so_func.resolve(m_out_so_cb, *this); |
147 | 145 | m_out_timer_func[TIMER_A].resolve(m_out_tao_cb, *this); |
148 | 146 | m_out_timer_func[TIMER_B].resolve(m_out_tbo_cb, *this); |