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/zexall/zexall.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/zexall') diff --git a/src/zexall/zexall.cpp b/src/zexall/zexall.cpp index 2717d402d89..dc6977a5acb 100644 --- a/src/zexall/zexall.cpp +++ b/src/zexall/zexall.cpp @@ -30,6 +30,7 @@ public: DECLARE_WRITE8_MEMBER( output_req_w ); DECLARE_WRITE8_MEMBER( output_data_w ); + void z80_mem(address_map &map); private: required_device m_maincpu; required_shared_ptr m_main_ram; @@ -119,7 +120,7 @@ WRITE8_MEMBER( zexall_state::output_data_w ) Address Maps ******************************************************************************/ -static ADDRESS_MAP_START(z80_mem, AS_PROGRAM, 8, zexall_state) +ADDRESS_MAP_START(zexall_state::z80_mem) AM_RANGE(0x0000, 0xffff) AM_RAM AM_SHARE("main_ram") AM_RANGE(0xfffd, 0xfffd) AM_READWRITE(output_ack_r, output_ack_w) AM_RANGE(0xfffe, 0xfffe) AM_READWRITE(output_req_r, output_req_w) -- cgit v1.2.3