diff options
author | 2018-03-13 07:36:43 +0100 | |
---|---|---|
committer | 2018-03-14 14:07:14 +0100 | |
commit | 115bb9936c5cd3faf955d7eb1e251a94e4744b7b (patch) | |
tree | f0230f547f6c750f9974c61479eef28cbe4ad571 /src/mame/drivers/pipbug.cpp | |
parent | f155992daab88ad024cec995428a67108218b51d (diff) |
Address maps macros removal, pass 1 [O. Galibert]
Diffstat (limited to 'src/mame/drivers/pipbug.cpp')
-rw-r--r-- | src/mame/drivers/pipbug.cpp | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/mame/drivers/pipbug.cpp b/src/mame/drivers/pipbug.cpp index b0464148490..6be0cb7708f 100644 --- a/src/mame/drivers/pipbug.cpp +++ b/src/mame/drivers/pipbug.cpp @@ -68,16 +68,18 @@ WRITE8_MEMBER( pipbug_state::pipbug_ctrl_w ) // 0x80 is written here - not connected in the baby 2650 } -ADDRESS_MAP_START(pipbug_state::pipbug_mem) - ADDRESS_MAP_UNMAP_HIGH - AM_RANGE( 0x0000, 0x03ff) AM_ROM - AM_RANGE( 0x0400, 0x7fff) AM_RAM -ADDRESS_MAP_END +void pipbug_state::pipbug_mem(address_map &map) +{ + map.unmap_value_high(); + map(0x0000, 0x03ff).rom(); + map(0x0400, 0x7fff).ram(); +} -ADDRESS_MAP_START(pipbug_state::pipbug_data) +void pipbug_state::pipbug_data(address_map &map) +{ // ADDRESS_MAP_UNMAP_HIGH - AM_RANGE(S2650_CTRL_PORT, S2650_CTRL_PORT) AM_WRITE(pipbug_ctrl_w) -ADDRESS_MAP_END + map(S2650_CTRL_PORT, S2650_CTRL_PORT).w(this, FUNC(pipbug_state::pipbug_ctrl_w)); +} /* Input ports */ static INPUT_PORTS_START( pipbug ) |