summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/pes.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/mame/drivers/pes.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/mame/drivers/pes.cpp')
-rw-r--r--src/mame/drivers/pes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/pes.cpp b/src/mame/drivers/pes.cpp
index 3c9acb9d244..450c0c5bd66 100644
--- a/src/mame/drivers/pes.cpp
+++ b/src/mame/drivers/pes.cpp
@@ -223,13 +223,13 @@ void pes_state::machine_reset()
Address Maps
******************************************************************************/
-static ADDRESS_MAP_START(i80c31_mem, AS_PROGRAM, 8, pes_state)
+ADDRESS_MAP_START(pes_state::i80c31_mem)
ADDRESS_MAP_UNMAP_HIGH
AM_RANGE(0x0000, 0x1fff) AM_ROM /* 27C64 ROM */
// AM_RANGE(0x2000, 0x3fff) AM_RAM /* 6164 8k SRAM, not populated */
ADDRESS_MAP_END
-static ADDRESS_MAP_START(i80c31_io, AS_IO, 8, pes_state)
+ADDRESS_MAP_START(pes_state::i80c31_io)
ADDRESS_MAP_GLOBAL_MASK(0xff)
AM_RANGE(0x0, 0x0) AM_WRITE(rsq_wsq_w) /* /WS(0) and /RS(1) */
AM_RANGE(0x1, 0x1) AM_READWRITE(port1_r, port1_w) /* tms5220 reads and writes */