summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-11-03 16:38:35 -0500
committer AJR <ajrhacker@users.noreply.github.com>2019-11-03 17:05:59 -0500
commit169d310d2e9572d208825c787d2e5acefef89974 (patch)
treec2e76e4a82fc96ca6c340d8ae3314bfc0720f312 /src/devices/cpu
parented087f295e4132c9686369a5b03fe3d5486d1b95 (diff)
gameking: Switch to ST2204 emulation (nw)
The hacks to get this half-working at this state may be a bit crude, but at least it's way cleaner than 550175d8b8ec9739c5e7810bbdba789cf6b49158.
Diffstat (limited to 'src/devices/cpu')
-rw-r--r--src/devices/cpu/m6502/st2204.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/m6502/st2204.cpp b/src/devices/cpu/m6502/st2204.cpp
index cad69651872..88b421c3b2c 100644
--- a/src/devices/cpu/m6502/st2204.cpp
+++ b/src/devices/cpu/m6502/st2204.cpp
@@ -343,7 +343,7 @@ void st2204_device::int_map(address_map &map)
map(0x0044, 0x0044).rw(FUNC(st2204_device::lymax_r), FUNC(st2204_device::lymax_w));
map(0x004c, 0x004c).rw(FUNC(st2204_device::pl_r), FUNC(st2204_device::pl_w));
map(0x004e, 0x004e).w(FUNC(st2204_device::pcl_w));
- map(0x0080, 0x27ff).ram(); // 10K internal SRAM; extent of mapping guessed
+ map(0x0080, 0x287f).ram();
map(0x4000, 0x7fff).rw(FUNC(st2204_device::pmem_r), FUNC(st2204_device::pmem_w));
map(0x8000, 0xffff).rw(FUNC(st2204_device::dmem_r), FUNC(st2204_device::dmem_w));
}