summaryrefslogtreecommitdiffstats
path: root/src/devices/bus/snes/upd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/snes/upd.cpp')
-rw-r--r--src/devices/bus/snes/upd.cpp28
1 files changed, 16 insertions, 12 deletions
diff --git a/src/devices/bus/snes/upd.cpp b/src/devices/bus/snes/upd.cpp
index 9eb685edcc7..5c08ca15377 100644
--- a/src/devices/bus/snes/upd.cpp
+++ b/src/devices/bus/snes/upd.cpp
@@ -112,18 +112,20 @@ READ16_MEMBER( sns_rom20_necdsp_device::necdsp_data_r )
// ADDRESS_MAP( dsp_prg_map )
//-------------------------------------------------
-ADDRESS_MAP_START(sns_rom20_necdsp_device::dsp_prg_map_lorom)
- AM_RANGE(0x0000, 0x07ff) AM_READ(necdsp_prg_r)
-ADDRESS_MAP_END
+void sns_rom20_necdsp_device::dsp_prg_map_lorom(address_map &map)
+{
+ map(0x0000, 0x07ff).r(this, FUNC(sns_rom20_necdsp_device::necdsp_prg_r));
+}
//-------------------------------------------------
// ADDRESS_MAP( dsp_data_map )
//-------------------------------------------------
-ADDRESS_MAP_START(sns_rom20_necdsp_device::dsp_data_map_lorom)
- AM_RANGE(0x0000, 0x03ff) AM_READ(necdsp_data_r)
-ADDRESS_MAP_END
+void sns_rom20_necdsp_device::dsp_data_map_lorom(address_map &map)
+{
+ map(0x0000, 0x03ff).r(this, FUNC(sns_rom20_necdsp_device::necdsp_data_r));
+}
//-------------------------------------------------
@@ -168,18 +170,20 @@ READ16_MEMBER( sns_rom21_necdsp_device::necdsp_data_r )
// ADDRESS_MAP( dsp_prg_map )
//-------------------------------------------------
-ADDRESS_MAP_START(sns_rom21_necdsp_device::dsp_prg_map_hirom)
- AM_RANGE(0x0000, 0x07ff) AM_READ(necdsp_prg_r)
-ADDRESS_MAP_END
+void sns_rom21_necdsp_device::dsp_prg_map_hirom(address_map &map)
+{
+ map(0x0000, 0x07ff).r(this, FUNC(sns_rom21_necdsp_device::necdsp_prg_r));
+}
//-------------------------------------------------
// ADDRESS_MAP( dsp_data_map )
//-------------------------------------------------
-ADDRESS_MAP_START(sns_rom21_necdsp_device::dsp_data_map_hirom)
- AM_RANGE(0x0000, 0x03ff) AM_READ(necdsp_data_r)
-ADDRESS_MAP_END
+void sns_rom21_necdsp_device::dsp_data_map_hirom(address_map &map)
+{
+ map(0x0000, 0x03ff).r(this, FUNC(sns_rom21_necdsp_device::necdsp_data_r));
+}
//-------------------------------------------------
// device_add_mconfig - add device configuration