diff options
author | 2018-12-07 00:07:08 +0100 | |
---|---|---|
committer | 2018-12-07 00:07:32 +0100 | |
commit | 7ca7e6597b5b6d9ce5142ad153fb31f3395c5cac (patch) | |
tree | 7f1b6942098979f2a66f3a7dc9e332a057948ad4 /src/devices/sound/bsmt2000.cpp | |
parent | f9f2a1f95a22f915d73be308d6dae46fae39572f (diff) |
-tms32010.cpp: Removed MCFG. [Ryan Holtz]
(nw) Fixed validation.
Diffstat (limited to 'src/devices/sound/bsmt2000.cpp')
-rw-r--r-- | src/devices/sound/bsmt2000.cpp | 13 |
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)); +} //------------------------------------------------- |