From 5b5ae97cdd771ab086cb254351a40dca10f10f98 Mon Sep 17 00:00:00 2001 From: hap Date: Sun, 25 Jun 2017 15:25:00 +0200 Subject: sm5a: fix ram mirror (nw) --- src/devices/cpu/sm510/sm5acore.cpp | 17 +++++++++++------ 1 file 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 -- cgit v1.2.3