diff options
Diffstat (limited to 'src/mame/drivers/armedf.cpp')
-rw-r--r-- | src/mame/drivers/armedf.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/armedf.cpp b/src/mame/drivers/armedf.cpp index def555a6651..6f266ad8704 100644 --- a/src/mame/drivers/armedf.cpp +++ b/src/mame/drivers/armedf.cpp @@ -431,7 +431,7 @@ void armedf_state::common_map(address_map &map) map(0x078002, 0x078003).portr("P2"); map(0x078004, 0x078005).portr("DSW1"); map(0x078006, 0x078007).portr("DSW2"); -// AM_RANGE(0x07c000, 0x07c001) AM_WRITE(terraf_io_w) handled in DRIVER_INIT +// map(0x07c000, 0x07c001).w(FUNC(armedf_state::terraf_io_w)); handled in DRIVER_INIT map(0x07c002, 0x07c003).w(FUNC(armedf_state::armedf_bg_scrollx_w)); map(0x07c004, 0x07c005).w(FUNC(armedf_state::armedf_bg_scrolly_w)); map(0x07c00a, 0x07c00b).w(FUNC(armedf_state::sound_command_w)); @@ -451,9 +451,9 @@ void armedf_state::kozure_map(address_map &map) common_map(map); map(0x060000, 0x060fff).ram().share("spriteram"); map(0x061000, 0x063fff).ram(); -// AM_RANGE(0x07c000, 0x07c001) AM_WRITE(kozure_io_w) -// AM_RANGE(0x0c0000, 0x0c0001) AM_WRITENOP /* watchdog? */ -// AM_RANGE(0xffd000, 0xffd001) AM_WRITENOP /* passes crc ROM information to MCU, I guess */ +// map(0x07c000, 0x07c001).w(FUNC(armedf_state::kozure_io_w)); +// map(0x0c0000, 0x0c0001).nopw(); /* watchdog? */ +// map(0xffd000, 0xffd001).nopw(); /* passes crc ROM information to MCU, I guess */ } void armedf_state::cclimbr2_map(address_map &map) @@ -471,7 +471,7 @@ void armedf_state::cclimbr2_map(address_map &map) map(0x078002, 0x078003).portr("P2"); map(0x078004, 0x078005).portr("DSW1"); map(0x078006, 0x078007).portr("DSW2"); -// AM_RANGE(0x07c000, 0x07c001) AM_WRITE(io_w) +// map(0x07c000, 0x07c001).w(FUNC(armedf_state::io_w)); map(0x07c002, 0x07c003).w(FUNC(armedf_state::armedf_bg_scrollx_w)); map(0x07c004, 0x07c005).w(FUNC(armedf_state::armedf_bg_scrolly_w)); map(0x07c00a, 0x07c00b).w(FUNC(armedf_state::sound_command_w)); |