From 682a32c6458ab47a558dd15f7cf00669254b8351 Mon Sep 17 00:00:00 2001 From: AJR Date: Sun, 14 Apr 2024 22:26:03 -0400 Subject: cpu/h8500: Remove "intram" space to simplify memory interface for future emulation * jv880: Improve memory map --- src/devices/cpu/h8500/h8534.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/devices/cpu/h8500/h8534.cpp') diff --git a/src/devices/cpu/h8500/h8534.cpp b/src/devices/cpu/h8500/h8534.cpp index 06c9b0dc24f..6d32e58df86 100644 --- a/src/devices/cpu/h8500/h8534.cpp +++ b/src/devices/cpu/h8500/h8534.cpp @@ -53,6 +53,7 @@ void h8534_device::internal_map(address_map &map) { if (mode_control() == 2 || mode_control() == 4 || mode_control() == 7) map(0x0000, 0x7fff).rom().region(DEVICE_SELF, 0); + map(0xf680, 0xfe7f).ram(); // TODO: may be disabled by writing 0 to RAME bit in RAMCR register_field_map(map); } @@ -62,6 +63,7 @@ void h8536_device::internal_map(address_map &map) map(0x0000, 0xee7f).rom().region(DEVICE_SELF, 0); else if (mode_control() == 4 || mode_control() == 7) map(0x0000, 0xf67f).rom().region(DEVICE_SELF, 0); + map(0xf680, 0xfe7f).ram(); // TODO: may be disabled by writing 0 to RAME bit in RAMCR register_field_map(map); } -- cgit v1.2.3-70-g09d2