summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-09-12 00:46:09 +1000
committer Vas Crabb <vas@vastheman.com>2018-09-12 00:46:09 +1000
commit6002d0718fae9d8e401fc92f5aef75bb9cf0554b (patch)
treeaa4c151deb6845acfdb0edc01530d2471764b0e4
parent00cfd2aa060d11221d88d11c27a158406e39a3e5 (diff)
notes (nw)
-rw-r--r--src/devices/cpu/m6502/m6500_1.cpp7
-rw-r--r--src/mame/drivers/goupil.cpp2
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");
}
}