diff options
-rw-r--r-- | src/devices/cpu/m6502/m6500_1.cpp | 7 | ||||
-rw-r--r-- | src/mame/drivers/goupil.cpp | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/devices/cpu/m6502/m6500_1.cpp b/src/devices/cpu/m6502/m6500_1.cpp index 153954f8845..cb3630e6668 100644 --- a/src/devices/cpu/m6502/m6500_1.cpp +++ b/src/devices/cpu/m6502/m6500_1.cpp @@ -486,6 +486,13 @@ void m6500_1_device::toggle_cntr() void m6500_1_device::memory_map(address_map &map) { + // there's probably a lot more mirroring here + // it's likely RAM is mirrored at 0x0040-0x007f and the entire 0x0000-0x00ff repeats every 0x100 up to 0x07ff + // this would make the decoding simple: + // 0xxx 0xaa aaaa -> RAM + // 0xxx 1xxx aaaa -> peripheral + // 1aaa aaaa aaaa -> ROM + map.global_mask(0x0fff); // guessed map.unmap_value_high(); // guessed diff --git a/src/mame/drivers/goupil.cpp b/src/mame/drivers/goupil.cpp index 5a62a95acc2..8a6c47b2a73 100644 --- a/src/mame/drivers/goupil.cpp +++ b/src/mame/drivers/goupil.cpp @@ -174,7 +174,7 @@ void goupil_g1_state::device_timer(emu_timer &timer, device_timer_id id, int par m_scanline_timer->adjust(m_screen->time_until_pos(m_screen->vpos() + 10)); break; default: - assert_always(false, "Unknown id in goupil_g1_state::device_timer"); + throw emu_fatalerror("Unknown id in goupil_g1_state::device_timer"); } } |