summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/minivadr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/minivadr.cpp')
-rw-r--r--src/mame/drivers/minivadr.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mame/drivers/minivadr.cpp b/src/mame/drivers/minivadr.cpp
index 70bbec71ba8..18ceb27eb6c 100644
--- a/src/mame/drivers/minivadr.cpp
+++ b/src/mame/drivers/minivadr.cpp
@@ -87,11 +87,12 @@ uint32_t minivadr_state::screen_update_minivadr(screen_device &screen, bitmap_rg
}
-ADDRESS_MAP_START(minivadr_state::minivadr_map)
- AM_RANGE(0x0000, 0x1fff) AM_ROM
- AM_RANGE(0xa000, 0xbfff) AM_RAM AM_SHARE("videoram")
- AM_RANGE(0xe008, 0xe008) AM_READ_PORT("INPUTS") AM_WRITENOP // W - ???
-ADDRESS_MAP_END
+void minivadr_state::minivadr_map(address_map &map)
+{
+ map(0x0000, 0x1fff).rom();
+ map(0xa000, 0xbfff).ram().share("videoram");
+ map(0xe008, 0xe008).portr("INPUTS").nopw(); // W - ???
+}
static INPUT_PORTS_START( minivadr )