From eb9435a834d1a464c9c55366eaac455a8156399a Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Sat, 13 Jan 2024 13:38:01 +0100 Subject: sega/system1.cpp: fixed MT07157 --- src/mame/sega/system1.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/mame/sega/system1.cpp b/src/mame/sega/system1.cpp index ada1d177c06..64bac977181 100644 --- a/src/mame/sega/system1.cpp +++ b/src/mame/sega/system1.cpp @@ -484,7 +484,7 @@ void system1_state::sound_control_w(u8 data) /* bit 0 = MUTE (inverted sense on System 2) */ machine().sound().system_mute((data ^ m_mute_xor) & 1); - /* bit 6 = feedback from sound board that read occurrred */ + /* bit 6 = feedback from sound board that read occurred */ /* bit 7 controls the sound CPU's NMI line */ m_soundcpu->set_input_line(INPUT_LINE_NMI, (data & 0x80) ? CLEAR_LINE : ASSERT_LINE); @@ -5438,6 +5438,7 @@ ROM_START( nob ) ROM_REGION( 0x10000, "soundcpu", 0 ) ROM_LOAD( "dm03.9h", 0x0000, 0x4000, CRC(415adf76) SHA1(fbd6f8921aa3246702983ba81fa9ae53fa10c19d) ) + ROM_RELOAD( 0x4000, 0x4000 ) ROM_REGION( 0x18000, "tiles", 0 ) ROM_LOAD( "dm02.13b", 0x08000, 0x8000, CRC(f12df039) SHA1(159de205f77fd74da30717054e6ddda2c0bb63d0) ) @@ -5469,6 +5470,7 @@ ROM_START( nobb ) ROM_REGION( 0x10000, "soundcpu", 0 ) ROM_LOAD( "nobo-m.bin", 0x0000, 0x4000, CRC(415adf76) SHA1(fbd6f8921aa3246702983ba81fa9ae53fa10c19d) ) + ROM_RELOAD( 0x4000, 0x4000 ) ROM_REGION( 0x18000, "tiles", 0 ) ROM_LOAD( "nobo-j.bin", 0x08000, 0x8000, CRC(f12df039) SHA1(159de205f77fd74da30717054e6ddda2c0bb63d0) ) @@ -5629,14 +5631,14 @@ void system1_state::init_nobb() // ROM[0x10000 + 0 * 0x8000 + 0x3347] = 0x18; // 'jr' instead of 'jr z' - /* Patch to get sound in later levels(the program enters into a tight loop)*/ - address_space &iospace = m_maincpu->space(AS_IO); - u8 *ROM2 = memregion("soundcpu")->base(); + /* Patch to get sound in later levels(the program enters into a tight loop), disabled as it seems fixed by mirroring the sound ROM*/ +// u8 *ROM2 = memregion("soundcpu")->base(); - ROM2[0x02f9] = 0x28;//'jr z' instead of 'jr' +// ROM2[0x02f9] = 0x28;//'jr z' instead of 'jr' init_bank44(); + address_space &iospace = m_maincpu->space(AS_IO); iospace.install_read_handler(0x1c, 0x1c, read8smo_delegate(*this, FUNC(system1_state::nobb_inport1c_r))); iospace.install_read_handler(0x02, 0x02, read8smo_delegate(*this, FUNC(system1_state::nobb_inport22_r))); iospace.install_read_handler(0x03, 0x03, read8smo_delegate(*this, FUNC(system1_state::nobb_inport23_r))); -- cgit v1.2.3