mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
zpinball.cpp: Hook up CTC interrupt (nw)
This commit is contained in:
parent
f58c3ea264
commit
d62c28b872
1 changed files with 1 additions and 0 deletions
|
@ -258,6 +258,7 @@ void zpinball_state::zpinball(machine_config &config)
|
|||
m_zpuctc->set_clk<0>(8_MHz_XTAL / 4);
|
||||
m_zpuctc->set_clk<2>(100); // rectified from power supply
|
||||
m_zpuctc->set_clk<3>(100);
|
||||
m_zpuctc->int_callback().set_inputline(m_zpumpu, INPUT_LINE_IRQ0);
|
||||
m_zpuctc->zc_callback<0>().set(FUNC(zpinball_state::shift_toggle_w));
|
||||
m_zpuctc->zc_callback<0>().append(m_zpuctc, FUNC(z80ctc_device::trg1));
|
||||
m_zpuctc->zc_callback<1>().set(FUNC(zpinball_state::clock_off_w));
|
||||
|
|
Loading…
Reference in a new issue