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/candela.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/candela.cpp')
-rw-r--r-- | src/mame/drivers/candela.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/candela.cpp b/src/mame/drivers/candela.cpp index 75cd513e762..50becbb886b 100644 --- a/src/mame/drivers/candela.cpp +++ b/src/mame/drivers/candela.cpp @@ -156,6 +156,7 @@ public: DECLARE_WRITE_LINE_MEMBER( usrpia_cb2_w); DECLARE_WRITE_LINE_MEMBER (write_acia_clock); void can09t(machine_config &config); + void can09t_map(address_map &map); protected: required_device<pia6821_device> m_syspia; required_device<pia6821_device> m_usrpia; @@ -470,7 +471,7 @@ WRITE_LINE_MEMBER (can09t_state::write_acia_clock){ * *0xe000-0xffff PROM monitor 0xe000-0xffff PROM monitor */ -static ADDRESS_MAP_START( can09t_map, AS_PROGRAM, 8, can09t_state ) +ADDRESS_MAP_START(can09t_state::can09t_map) // Everything is dynamically and asymetrically mapped through the PAL decoded by read/write AM_RANGE(0x0000, 0xffff) AM_READWRITE(read, write) ADDRESS_MAP_END @@ -511,6 +512,7 @@ public: DECLARE_WRITE_LINE_MEMBER( pia1_cb2_w); uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); void can09(machine_config &config); + void can09_map(address_map &map); protected: required_device<pia6821_device> m_pia1; required_device<ram_device> m_ram; @@ -623,7 +625,7 @@ INPUT_PORTS_END // traced and guessed from pcb images and debugger // It is very likelly that this is a PIA based dynamic address map, needs more analysis -static ADDRESS_MAP_START( can09_map, AS_PROGRAM, 8, can09_state ) +ADDRESS_MAP_START(can09_state::can09_map) /* * Port A=0x18 B=0x20 erase 0-7fff * Port A=0x18 B=0x30 erase 0-7fff |