diff options
Diffstat (limited to 'src/mame/drivers/4dpi.cpp')
-rw-r--r-- | src/mame/drivers/4dpi.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mame/drivers/4dpi.cpp b/src/mame/drivers/4dpi.cpp index a86e832b186..f245174df69 100644 --- a/src/mame/drivers/4dpi.cpp +++ b/src/mame/drivers/4dpi.cpp @@ -218,12 +218,13 @@ void sgi_ip6_state::machine_reset() ADDRESS MAPS ***************************************************************************/ -ADDRESS_MAP_START(sgi_ip6_state::sgi_ip6_map) - AM_RANGE( 0x1f880000, 0x1f880003 ) AM_READWRITE(ip6_unk1_r, ip6_unk1_w) - AM_RANGE( 0x1fb00000, 0x1fb00003 ) AM_READWRITE(ip6_unk3_r, ip6_unk3_w) - AM_RANGE( 0x1fbc004c, 0x1fbc004f ) AM_READWRITE(ip6_unk2_r, ip6_unk2_w) - AM_RANGE( 0x1fc00000, 0x1fc3ffff ) AM_ROM AM_REGION( "user1", 0 ) -ADDRESS_MAP_END +void sgi_ip6_state::sgi_ip6_map(address_map &map) +{ + map(0x1f880000, 0x1f880003).rw(this, FUNC(sgi_ip6_state::ip6_unk1_r), FUNC(sgi_ip6_state::ip6_unk1_w)); + map(0x1fb00000, 0x1fb00003).rw(this, FUNC(sgi_ip6_state::ip6_unk3_r), FUNC(sgi_ip6_state::ip6_unk3_w)); + map(0x1fbc004c, 0x1fbc004f).rw(this, FUNC(sgi_ip6_state::ip6_unk2_r), FUNC(sgi_ip6_state::ip6_unk2_w)); + map(0x1fc00000, 0x1fc3ffff).rom().region("user1", 0); +} /*************************************************************************** MACHINE DRIVERS |