summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mpu3.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/mpu3.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/mpu3.cpp')
-rw-r--r--src/mame/drivers/mpu3.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/mpu3.cpp b/src/mame/drivers/mpu3.cpp
index eb774094154..b0c6f88d89d 100644
--- a/src/mame/drivers/mpu3.cpp
+++ b/src/mame/drivers/mpu3.cpp
@@ -268,6 +268,7 @@ public:
required_device<meters_device> m_meters;
optional_device<roc10937_device> m_vfd;
void mpu3base(machine_config &config);
+ void mpu3_basemap(address_map &map);
};
#define DISPLAY_PORT 0
@@ -830,7 +831,7 @@ READ8_MEMBER(mpu3_state::mpu3ptm_r)
return ptm2->read(offset >>2);
}
-static ADDRESS_MAP_START( mpu3_basemap, AS_PROGRAM, 8, mpu3_state )
+ADDRESS_MAP_START(mpu3_state::mpu3_basemap)
AM_RANGE(0x0000, 0x07ff) AM_RAM AM_SHARE("nvram")
AM_RANGE(0x1000, 0xffff) AM_ROM
AM_RANGE(0x8800, 0x881f) AM_READWRITE(mpu3ptm_r, mpu3ptm_w)/* PTM6840 IC2 */