From 39b831b20c7d02d0613a250ff9e1881dcc8a2fdb Mon Sep 17 00:00:00 2001 From: angelosa Date: Sun, 8 Sep 2024 16:17:38 +0200 Subject: funtech/supracan.cpp: hookup sound to main irq --- src/mame/funtech/supracan.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/mame/funtech/supracan.cpp b/src/mame/funtech/supracan.cpp index 909fbf98a55..a789b8f6de6 100644 --- a/src/mame/funtech/supracan.cpp +++ b/src/mame/funtech/supracan.cpp @@ -1468,6 +1468,14 @@ void supracan_state::_6502_soundmem_w(offs_t offset, uint8_t data) } break; } + case 0x40a: + // speedyd/magipool uses this to request main to kickoff a sound DMA. + // gamblord/formduel just sets this just to poll a sound command + // all sets up 0x40c/0x40d as a buffer, and 0x40a to check if the irq is valid + // (does reading from 68k side acknowledges?) + m_maincpu->set_input_line(6, HOLD_LINE); + m_soundram[0x40a] = data; + break; case 0x410: m_soundcpu_irq_enable = data; // gamblord (at least) checks for pending irqs -- cgit v1.2.3