summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/bsmt2000.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/bsmt2000.cpp')
-rw-r--r--src/devices/sound/bsmt2000.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/devices/sound/bsmt2000.cpp b/src/devices/sound/bsmt2000.cpp
index 722b8ecd6a1..4104b83a619 100644
--- a/src/devices/sound/bsmt2000.cpp
+++ b/src/devices/sound/bsmt2000.cpp
@@ -94,13 +94,14 @@ const tiny_rom_entry *bsmt2000_device::device_rom_region() const
// device_add_mconfig - add device configuration
//-------------------------------------------------
-MACHINE_CONFIG_START(bsmt2000_device::device_add_mconfig)
- MCFG_DEVICE_ADD("bsmt2000", TMS32015, DERIVED_CLOCK(1,1))
- MCFG_DEVICE_PROGRAM_MAP(tms_program_map)
+void bsmt2000_device::device_add_mconfig(machine_config &config)
+{
+ tms32015_device &tms(TMS32015(config, "bsmt2000", DERIVED_CLOCK(1,1)));
+ tms.set_addrmap(AS_PROGRAM, &bsmt2000_device::tms_program_map);
// data map is internal to the CPU
- MCFG_DEVICE_IO_MAP(tms_io_map)
- MCFG_TMS32010_BIO_IN_CB(READLINE(*this, bsmt2000_device, tms_write_pending_r))
-MACHINE_CONFIG_END
+ tms.set_addrmap(AS_IO, &bsmt2000_device::tms_io_map);
+ tms.bio().set(FUNC(bsmt2000_device::tms_write_pending_r));
+}
//-------------------------------------------------