From c5219643162cb7d2a8688425a09008d28c8e2437 Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Thu, 1 Feb 2018 10:04:01 +0100 Subject: 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. --- src/mame/drivers/mpu12wbk.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mame/drivers/mpu12wbk.cpp') diff --git a/src/mame/drivers/mpu12wbk.cpp b/src/mame/drivers/mpu12wbk.cpp index 83039fcbc12..82c775f7e76 100644 --- a/src/mame/drivers/mpu12wbk.cpp +++ b/src/mame/drivers/mpu12wbk.cpp @@ -240,6 +240,7 @@ public: required_device m_maincpu; required_device m_gfxdecode; void mpu12wbk(machine_config &config); + void mpu12wbk_map(address_map &map); }; @@ -310,7 +311,7 @@ PALETTE_INIT_MEMBER(mpu12wbk_state, mpu12wbk) * Memory Map Information * *************************/ -static ADDRESS_MAP_START( mpu12wbk_map, AS_PROGRAM, 8, mpu12wbk_state ) +ADDRESS_MAP_START(mpu12wbk_state::mpu12wbk_map) AM_RANGE(0x1400, 0x1400) AM_DEVWRITE("crtc", mc6845_device, address_w) // OK AM_RANGE(0x1401, 0x1401) AM_DEVREADWRITE("crtc", mc6845_device, register_r, register_w) // OK AM_RANGE(0x1e00, 0x1e01) AM_DEVREADWRITE("ay8910", ay8910_device, data_r, address_data_w) // hmmmmm.... -- cgit v1.2.3