trunk/src/mame/drivers/wico.c
r21904 | r21905 | |
375 | 375 | TIMER_DEVICE_CALLBACK_MEMBER( wico_state::irq_housekeeping ) |
376 | 376 | { |
377 | 377 | if (m_zcen) |
378 | | generic_pulse_irq_line(m_hcpu, M6809_IRQ_LINE,1); |
| 378 | m_hcpu->set_input_line(M6809_IRQ_LINE, HOLD_LINE); |
379 | 379 | } |
380 | 380 | |
381 | 381 | TIMER_DEVICE_CALLBACK_MEMBER( wico_state::firq_housekeeping ) |
382 | 382 | { |
383 | 383 | if (m_gten) |
384 | | generic_pulse_irq_line(m_hcpu, M6809_FIRQ_LINE,1); |
| 384 | m_hcpu->set_input_line(M6809_FIRQ_LINE, HOLD_LINE); |
385 | 385 | |
386 | 386 | // Gen. timer irq of command CPU kicks in every 4 interrupts of this timer |
387 | 387 | m_firqtimer++; |
388 | 388 | if (m_firqtimer > 3) // divided by 4 by U2 74LS393. |
389 | 389 | { |
390 | | //m_cpu2->set_input_line(M6809_IRQ_LINE, ASSERT_LINE); |
391 | | generic_pulse_irq_line(m_ccpu, M6809_IRQ_LINE,1); |
| 390 | m_ccpu->set_input_line(M6809_IRQ_LINE, HOLD_LINE); |
392 | 391 | m_firqtimer = 0; |
393 | 392 | } |
394 | 393 | } |