diff options
Diffstat (limited to 'src/devices/bus/isa/stereo_fx.cpp')
-rw-r--r-- | src/devices/bus/isa/stereo_fx.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/bus/isa/stereo_fx.cpp b/src/devices/bus/isa/stereo_fx.cpp index 6f49baba5f0..66062702719 100644 --- a/src/devices/bus/isa/stereo_fx.cpp +++ b/src/devices/bus/isa/stereo_fx.cpp @@ -115,22 +115,22 @@ const tiny_rom_entry *stereo_fx_device::device_rom_region() const } MACHINE_CONFIG_START(stereo_fx_device::device_add_mconfig) - MCFG_CPU_ADD("stereo_fx_cpu", I80C31, XTAL(30'000'000)) - MCFG_CPU_IO_MAP(stereo_fx_io) - MCFG_CPU_PROGRAM_MAP(stereo_fx_rom) - MCFG_MCS51_PORT_P1_IN_CB(READ8(stereo_fx_device, p1_r)) - MCFG_MCS51_PORT_P1_OUT_CB(DEVWRITE8("ldac", dac_byte_interface, write)) - MCFG_MCS51_PORT_P3_IN_CB(READ8(stereo_fx_device, p3_r)) - MCFG_MCS51_PORT_P3_OUT_CB(WRITE8(stereo_fx_device, p3_w)) + MCFG_DEVICE_ADD("stereo_fx_cpu", I80C31, XTAL(30'000'000)) + MCFG_DEVICE_IO_MAP(stereo_fx_io) + MCFG_DEVICE_PROGRAM_MAP(stereo_fx_rom) + MCFG_MCS51_PORT_P1_IN_CB(READ8(*this, stereo_fx_device, p1_r)) + MCFG_MCS51_PORT_P1_OUT_CB(WRITE8("ldac", dac_byte_interface, write)) + MCFG_MCS51_PORT_P3_IN_CB(READ8(*this, stereo_fx_device, p3_r)) + MCFG_MCS51_PORT_P3_OUT_CB(WRITE8(*this, stereo_fx_device, p3_w)) MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") - MCFG_SOUND_ADD("ym3812", YM3812, XTAL(3'579'545)) + MCFG_DEVICE_ADD("ym3812", YM3812, XTAL(3'579'545)) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.00) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.00) /* no CM/S support (empty sockets) */ - MCFG_SOUND_ADD("ldac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.5) // unknown DAC - MCFG_SOUND_ADD("rdac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.5) // unknown DAC + MCFG_DEVICE_ADD("ldac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.5) // unknown DAC + MCFG_DEVICE_ADD("rdac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.5) // unknown DAC MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0) MCFG_SOUND_ROUTE(0, "ldac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE(0, "ldac", -1.0, DAC_VREF_NEG_INPUT) MCFG_SOUND_ROUTE(0, "rdac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE(0, "rdac", -1.0, DAC_VREF_NEG_INPUT) |