summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2017-06-25 15:25:00 +0200
committer hap <happppp@users.noreply.github.com>2017-06-25 15:25:00 +0200
commit5b5ae97cdd771ab086cb254351a40dca10f10f98 (patch)
treeb14fe4a0d9658c5045b19dceff2ec1aa941c5fd6
parent456e4c47ebf3e7f973ceb9fbd56bd4722ece1c3e (diff)
sm5a: fix ram mirror (nw)
-rw-r--r--src/devices/cpu/sm510/sm5acore.cpp17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/devices/cpu/sm510/sm5acore.cpp b/src/devices/cpu/sm510/sm5acore.cpp
index 02ab41f3213..c73fd4b4c90 100644
--- a/src/devices/cpu/sm510/sm5acore.cpp
+++ b/src/devices/cpu/sm510/sm5acore.cpp
@@ -23,15 +23,20 @@ DEFINE_DEVICE_TYPE(KB1013VK12, kb1013vk12_device, "kb1013vk1_2", "KB1013VK1-2")
// internal memory maps
static ADDRESS_MAP_START(program_1_8k, AS_PROGRAM, 8, sm510_base_device)
AM_RANGE(0x000, 0x6ff) AM_ROM
- AM_RANGE(0x700, 0x73f) AM_MIRROR(0x0c0) AM_ROM
+ AM_RANGE(0x700, 0x73f) AM_ROM AM_MIRROR(0x0c0)
ADDRESS_MAP_END
static ADDRESS_MAP_START(data_5x13x4, AS_DATA, 8, sm510_base_device)
- AM_RANGE(0x00, 0x0c) AM_RAM
- AM_RANGE(0x10, 0x1c) AM_RAM
- AM_RANGE(0x20, 0x2c) AM_RAM
- AM_RANGE(0x30, 0x3c) AM_RAM
- AM_RANGE(0x40, 0x4c) AM_MIRROR(0x30) AM_RAM
+ AM_RANGE(0x00, 0x0b) AM_RAM
+ AM_RANGE(0x0c, 0x0c) AM_RAM AM_MIRROR(0x03)
+ AM_RANGE(0x10, 0x1b) AM_RAM
+ AM_RANGE(0x1c, 0x1c) AM_RAM AM_MIRROR(0x03)
+ AM_RANGE(0x20, 0x2b) AM_RAM
+ AM_RANGE(0x2c, 0x2c) AM_RAM AM_MIRROR(0x03)
+ AM_RANGE(0x30, 0x3b) AM_RAM
+ AM_RANGE(0x3c, 0x3c) AM_RAM AM_MIRROR(0x03)
+ AM_RANGE(0x40, 0x4b) AM_RAM AM_MIRROR(0x30)
+ AM_RANGE(0x4c, 0x4c) AM_RAM AM_MIRROR(0x33)
ADDRESS_MAP_END