diff options
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 |
commit | c5219643162cb7d2a8688425a09008d28c8e2437 (patch) | |
tree | f2775ca3b1770ab0d3fb568f0bdd6d9212c68bf6 /src/mame/drivers/meyc8088.cpp | |
parent | 09b6ce46873b38de9030a3c0378ff327f17af881 (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/meyc8088.cpp')
-rw-r--r-- | src/mame/drivers/meyc8088.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/meyc8088.cpp b/src/mame/drivers/meyc8088.cpp index 3fe66266de9..f9552ee9e2f 100644 --- a/src/mame/drivers/meyc8088.cpp +++ b/src/mame/drivers/meyc8088.cpp @@ -72,6 +72,7 @@ public: DECLARE_WRITE_LINE_MEMBER(screen_vblank_meyc8088); TIMER_DEVICE_CALLBACK_MEMBER(heartbeat_callback); void meyc8088(machine_config &config); + void meyc8088_map(address_map &map); }; @@ -213,7 +214,7 @@ WRITE8_MEMBER(meyc8088_state::video5_flip_w) } -static ADDRESS_MAP_START( meyc8088_map, AS_PROGRAM, 8, meyc8088_state ) +ADDRESS_MAP_START(meyc8088_state::meyc8088_map) AM_RANGE(0x00000, 0x007ff) AM_RAM AM_SHARE("nvram") AM_RANGE(0x70000, 0x77fff) AM_RAM AM_SHARE("vram") AM_RANGE(0xb0000, 0xb00ff) AM_DEVREADWRITE("i8155_2", i8155_device, memory_r, memory_w) |