summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/abckb/abc77.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2018-02-01 10:04:01 +0100
committer Olivier Galibert <galibert@pobox.com>2018-02-12 10:04:52 +0100
commitc5219643162cb7d2a8688425a09008d28c8e2437 (patch)
treef2775ca3b1770ab0d3fb568f0bdd6d9212c68bf6 /src/devices/bus/abckb/abc77.cpp
parent09b6ce46873b38de9030a3c0378ff327f17af881 (diff)
API change: Memory maps are now methods of the owner class [O. Galibert]
Also, a lot more freedom happened, that's going to be more visible soon.
Diffstat (limited to 'src/devices/bus/abckb/abc77.cpp')
-rw-r--r--src/devices/bus/abckb/abc77.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/abckb/abc77.cpp b/src/devices/bus/abckb/abc77.cpp
index 6081d256406..9f4b469a298 100644
--- a/src/devices/bus/abckb/abc77.cpp
+++ b/src/devices/bus/abckb/abc77.cpp
@@ -89,7 +89,7 @@ const tiny_rom_entry *abc77_device::device_rom_region() const
// ADDRESS_MAP( abc77_mem )
//-------------------------------------------------
-static ADDRESS_MAP_START( abc77_map, AS_PROGRAM, 8, abc77_device )
+ADDRESS_MAP_START(abc77_device::abc77_map)
AM_RANGE(0x000, 0xfff) AM_ROM AM_REGION("z16", 0)
ADDRESS_MAP_END
@@ -98,7 +98,7 @@ ADDRESS_MAP_END
// ADDRESS_MAP( abc77_io )
//-------------------------------------------------
-static ADDRESS_MAP_START( abc77_io, AS_IO, 8, abc77_device )
+ADDRESS_MAP_START(abc77_device::abc77_io)
AM_RANGE(0x00, 0x00) AM_MIRROR(0xff) AM_WRITE(j3_w)
AM_RANGE(0x00, 0x00) AM_MIRROR(0xff) AM_READ_PORT("DSW")
ADDRESS_MAP_END