diff options
Diffstat (limited to 'src/mame/video/tmc600.cpp')
-rw-r--r-- | src/mame/video/tmc600.cpp | 7 |
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 ) { |