summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/tmc600.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2018-03-13 07:36:43 +0100
committer Olivier Galibert <galibert@pobox.com>2018-03-14 14:07:14 +0100
commit115bb9936c5cd3faf955d7eb1e251a94e4744b7b (patch)
treef0230f547f6c750f9974c61479eef28cbe4ad571 /src/mame/video/tmc600.cpp
parentf155992daab88ad024cec995428a67108218b51d (diff)
Address maps macros removal, pass 1 [O. Galibert]
Diffstat (limited to 'src/mame/video/tmc600.cpp')
-rw-r--r--src/mame/video/tmc600.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/video/tmc600.cpp b/src/mame/video/tmc600.cpp
index 346ff3f722e..db6ba5835f9 100644
--- a/src/mame/video/tmc600.cpp
+++ b/src/mame/video/tmc600.cpp
@@ -42,9 +42,10 @@ WRITE8_MEMBER( tmc600_state::page_ram_w )
m_color_ram[offset] = m_vismac_color_latch;
}
-ADDRESS_MAP_START(tmc600_state::cdp1869_page_ram)
- AM_RANGE(0x000, 0x3ff) AM_MIRROR(0x400) AM_RAM AM_SHARE("page_ram") AM_WRITE(page_ram_w)
-ADDRESS_MAP_END
+void tmc600_state::cdp1869_page_ram(address_map &map)
+{
+ map(0x000, 0x3ff).mirror(0x400).ram().share("page_ram").w(this, FUNC(tmc600_state::page_ram_w));
+}
CDP1869_CHAR_RAM_READ_MEMBER( tmc600_state::tmc600_char_ram_r )
{