INPUT_PORTS_END TIMER_DEVICE_CALLBACK_MEMBER(busicom_state::timer_callback) { m_timer ^=1; if (m_timer==1) m_drum_index++; if (m_drum_index==13) m_drum_index=0; i4004_set_test(machine().device("maincpu"),m_timer); }
INPUT_PORTS_END static TIMER_DEVICE_CALLBACK(timer_callback) { busicom_state *state = timer.machine().driver_data<busicom_state>(); state->m_timer ^=1; if (state->m_timer==1) state->m_drum_index++; if (state->m_drum_index==13) state->m_drum_index=0; i4004_set_test(timer.machine().device("maincpu"),state->m_timer); }
INPUT_PORTS_END /* 16ms Int generator __ __ _| |_| 0 1 0 1 */ TIMER_DEVICE_CALLBACK_MEMBER(nixieclock_state::timer_callback) { i4004_set_test(machine().device("maincpu"),m_timer); m_timer^=1; }
INPUT_PORTS_END /* 16ms Int generator __ __ _| |_| 0 1 0 1 */ static TIMER_DEVICE_CALLBACK(timer_callback) { nixieclock_state *state = timer.machine().driver_data<nixieclock_state>(); i4004_set_test(timer.machine().device("maincpu"),state->m_timer); state->m_timer^=1; }