summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8500/h8534.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2024-04-14 22:26:03 -0400
committer AJR <ajrhacker@users.noreply.github.com>2024-04-14 22:27:57 -0400
commit682a32c6458ab47a558dd15f7cf00669254b8351 (patch)
tree827b5cec6940454fdbdecf6611057cba1480a23f /src/devices/cpu/h8500/h8534.cpp
parente5839a29efbc070e8ea03cee5d80469a749f1e30 (diff)
cpu/h8500: Remove "intram" space to simplify memory interface for future emulation
* jv880: Improve memory map
Diffstat (limited to 'src/devices/cpu/h8500/h8534.cpp')
-rw-r--r--src/devices/cpu/h8500/h8534.cpp2
1 files changed, 2 insertions, 0 deletions
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);
}