diff options
Diffstat (limited to 'src/devices/machine/generalplus_gpl16250soc.cpp')
-rw-r--r-- | src/devices/machine/generalplus_gpl16250soc.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/devices/machine/generalplus_gpl16250soc.cpp b/src/devices/machine/generalplus_gpl16250soc.cpp index ac0c99f480e..2548929027c 100644 --- a/src/devices/machine/generalplus_gpl16250soc.cpp +++ b/src/devices/machine/generalplus_gpl16250soc.cpp @@ -203,7 +203,7 @@ void sunplus_gcm394_base_device::trigger_systemm_dma(int channel) // note, these patch the code copied to SRAM so the 'PROGRAM ROM' check fails (it passes otherwise) - //address_space& mem = this->space(AS_PROGRAM); + address_space& mem = this->space(AS_PROGRAM); //if (mem.read_word(0x4368c) == 0x4846) // mem.write_word(0x4368c, 0x4840); // cars 2 force service mode @@ -218,6 +218,13 @@ void sunplus_gcm394_base_device::trigger_systemm_dma(int channel) //if (mem.read_word(0x4d8d4) == 0x4840) // mem.write_word(0x4d8d4, 0x4841); // golden tee IRQ? wait hack + //if (mem.read_word(0x3510f) == 0x4845) + // mem.write_word(0x3510f, 0x4840); // camp rock force service mode + + if (mem.read_word(0x4abe7) == 0x4840) + mem.write_word(0x4abe7, 0x4841); // camp rock IRQ? wait hack + + // clear params after operation m_dma_params[0][channel] = m_dma_params[0][channel] & 0x00f7; |