diff options
author | 2020-06-10 16:35:32 +0200 | |
---|---|---|
committer | 2020-06-10 16:35:45 +0200 | |
commit | 1a7ec8dddd33e314e1aa5a17f53cc40379d70e2f (patch) | |
tree | 813ae979d0a7d8166429f30681cd93530dce6170 | |
parent | b12859676c40cdd9daad655498f4a88367f6aaae (diff) |
m37710: nop unused SFR area (nw)
-rw-r--r-- | src/devices/cpu/m37710/m37710.cpp | 5 | ||||
-rw-r--r-- | src/mame/drivers/40love.cpp | 4 | ||||
-rw-r--r-- | src/mame/drivers/namcos22.cpp | 4 |
3 files changed, 11 insertions, 2 deletions
diff --git a/src/devices/cpu/m37710/m37710.cpp b/src/devices/cpu/m37710/m37710.cpp index ccbb60b1da4..09e3d3b40dc 100644 --- a/src/devices/cpu/m37710/m37710.cpp +++ b/src/devices/cpu/m37710/m37710.cpp @@ -211,6 +211,7 @@ void m37710_cpu_device::irq_register_map(address_map &map) // (M37702E2: same with EPROM instead of mask ROM) void m37702m2_device::map(address_map &map) { + map(0x000000, 0x00007f).noprw(); map(0x000002, 0x000015).rw(FUNC(m37702m2_device::port_r<0>), FUNC(m37702m2_device::port_w<0>)).umask16(0x00ff); map(0x000002, 0x000011).rw(FUNC(m37702m2_device::port_r<1>), FUNC(m37702m2_device::port_w<1>)).umask16(0xff00); map(0x00005e, 0x00005e).rw(FUNC(m37702m2_device::proc_mode_r), FUNC(m37702m2_device::proc_mode_w)); @@ -229,6 +230,7 @@ void m37702m2_device::map(address_map &map) // M37702S1: 512 bytes internal RAM, no internal ROM void m37702s1_device::map(address_map &map) { + map(0x000000, 0x00007f).noprw(); map(0x000002, 0x000015).rw(FUNC(m37702s1_device::port_r<0>), FUNC(m37702s1_device::port_w<0>)).umask16(0x00ff); map(0x000002, 0x000011).rw(FUNC(m37702s1_device::port_r<1>), FUNC(m37702s1_device::port_w<1>)).umask16(0xff00); map(0x00005e, 0x00005e).rw(FUNC(m37702s1_device::proc_mode_r), FUNC(m37702s1_device::proc_mode_w)); @@ -246,6 +248,7 @@ void m37702s1_device::map(address_map &map) // M37710S4: 2048 bytes internal RAM, no internal ROM void m37710s4_device::map(address_map &map) { + map(0x000000, 0x00007f).noprw(); map(0x00000a, 0x000015).rw(FUNC(m37710s4_device::port_r<4>), FUNC(m37710s4_device::port_w<4>)).umask16(0x00ff); map(0x00000a, 0x000011).rw(FUNC(m37710s4_device::port_r<5>), FUNC(m37710s4_device::port_w<5>)).umask16(0xff00); map(0x00001a, 0x00001d).w(FUNC(m37710s4_device::da_reg_w)).umask16(0x00ff); @@ -265,6 +268,7 @@ void m37710s4_device::map(address_map &map) // M37720S1: 512 bytes internal RAM, no internal ROM, built-in DMA void m37720s1_device::map(address_map &map) { + map(0x000000, 0x00007f).noprw(); map(0x00000a, 0x000019).rw(FUNC(m37720s1_device::port_r<4>), FUNC(m37720s1_device::port_w<4>)).umask16(0x00ff); map(0x00000a, 0x000015).rw(FUNC(m37720s1_device::port_r<5>), FUNC(m37720s1_device::port_w<5>)).umask16(0xff00); map(0x00001a, 0x00001d).w(FUNC(m37720s1_device::pulse_output_w)).umask16(0x00ff); @@ -290,6 +294,7 @@ void m37720s1_device::map(address_map &map) // M37730S2: 1024 bytes internal RAM, no internal ROM void m37730s2_device::map(address_map &map) { + map(0x000000, 0x00007f).noprw(); map(0x00000a, 0x000015).rw(FUNC(m37730s2_device::port_r<4>), FUNC(m37730s2_device::port_w<4>)).umask16(0x00ff); map(0x00000a, 0x00000d).rw(FUNC(m37730s2_device::port_r<5>), FUNC(m37730s2_device::port_w<5>)).umask16(0xff00); map(0x00005e, 0x00005e).rw(FUNC(m37730s2_device::proc_mode_r), FUNC(m37730s2_device::proc_mode_w)); diff --git a/src/mame/drivers/40love.cpp b/src/mame/drivers/40love.cpp index 0d322f938b7..917c8dfd49d 100644 --- a/src/mame/drivers/40love.cpp +++ b/src/mame/drivers/40love.cpp @@ -292,7 +292,7 @@ void fortyl_state::_40love_map(address_map &map) map(0x8800, 0x8800).rw(m_bmcu, FUNC(taito68705_mcu_device::data_r), FUNC(taito68705_mcu_device::data_w)); map(0x8801, 0x8801).r(FUNC(fortyl_state::fortyl_mcu_status_r)).w("mb14241", FUNC(mb14241_device::shift_count_w)); //pixel layer related map(0x8802, 0x8802).w(FUNC(fortyl_state::bank_select_w)); - map(0x8803, 0x8803).r("mb14241", FUNC(mb14241_device::shift_result_r)).w("mb14241", FUNC(mb14241_device::shift_data_w)); //pixel layer related + map(0x8803, 0x8803).rw("mb14241", FUNC(mb14241_device::shift_result_r), FUNC(mb14241_device::shift_data_w)); //pixel layer related map(0x8804, 0x8804).r(m_soundlatch2, FUNC(generic_latch_8_device::read)); map(0x8804, 0x8804).w("soundlatch", FUNC(generic_latch_8_device::write)); map(0x8805, 0x8805).r(FUNC(fortyl_state::snd_flag_r)).nopw(); /*sound_reset*/ //???? @@ -321,7 +321,7 @@ void fortyl_state::undoukai_map(address_map &map) map(0xa800, 0xa800).rw(m_bmcu, FUNC(taito68705_mcu_device::data_r), FUNC(taito68705_mcu_device::data_w)); map(0xa801, 0xa801).r(FUNC(fortyl_state::fortyl_mcu_status_r)).w("mb14241", FUNC(mb14241_device::shift_count_w)); //pixel layer related map(0xa802, 0xa802).w(FUNC(fortyl_state::bank_select_w)); - map(0xa803, 0xa803).r("mb14241", FUNC(mb14241_device::shift_result_r)).w("mb14241", FUNC(mb14241_device::shift_data_w)); //pixel layer related + map(0xa803, 0xa803).rw("mb14241", FUNC(mb14241_device::shift_result_r), FUNC(mb14241_device::shift_data_w)); //pixel layer related map(0xa804, 0xa804).r(m_soundlatch2, FUNC(generic_latch_8_device::read)); map(0xa804, 0xa804).w("soundlatch", FUNC(generic_latch_8_device::write)); map(0xa805, 0xa805).r(FUNC(fortyl_state::snd_flag_r)).nopw(); /*sound_reset*/ //???? diff --git a/src/mame/drivers/namcos22.cpp b/src/mame/drivers/namcos22.cpp index 1b106834e54..07ec5579d37 100644 --- a/src/mame/drivers/namcos22.cpp +++ b/src/mame/drivers/namcos22.cpp @@ -1542,6 +1542,10 @@ u16 namcos22_state::namcos22_keycus_r(offs_t offset) if (offset == 4) return 0x01a8; break; + // no keycus + case NAMCOS22_AIR_COMBAT22: + return 0; + default: break; } |