diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2018-05-27 11:28:05 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2018-05-27 11:28:05 -0400 |
commit | 9b27fcb332a195a41a5b8caaf89af98486069748 (patch) | |
tree | e1e0e93140b0d23392afe2d7b509182c7f3c1df2 | |
parent | 548a95a220c6b9f389ea31b0a35f8cca59598603 (diff) |
MT 6982 (nw)
-rw-r--r-- | src/mame/drivers/coco12.cpp | 1 | ||||
-rw-r--r-- | src/mame/drivers/tandy1t.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/coco12.cpp b/src/mame/drivers/coco12.cpp index e03146e657a..e736e2c99d5 100644 --- a/src/mame/drivers/coco12.cpp +++ b/src/mame/drivers/coco12.cpp @@ -388,6 +388,7 @@ MACHINE_CONFIG_START(coco_state::coco_sound) MCFG_DEVICE_ADD("dac", DAC_6BIT_BINARY_WEIGHTED, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.125) MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0) MCFG_SOUND_ROUTE(0, "dac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE(0, "dac", -1.0, DAC_VREF_NEG_INPUT) + MCFG_SOUND_ROUTE(0, "sbs", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE(0, "sbs", -1.0, DAC_VREF_NEG_INPUT) // Single-bit sound: R22 = 10K DAC_1BIT(config, "sbs", 0).add_route(ALL_OUTPUTS, "speaker", 0.125); diff --git a/src/mame/drivers/tandy1t.cpp b/src/mame/drivers/tandy1t.cpp index 6ae120166e9..a334573f653 100644 --- a/src/mame/drivers/tandy1t.cpp +++ b/src/mame/drivers/tandy1t.cpp @@ -420,7 +420,7 @@ void tandy1000_state::machine_start() else m_maincpu->space(AS_PROGRAM).install_readwrite_handler(m_ram->size() - (128*1024), 640*1024 - 1, read8_delegate(FUNC(tandy1000_state::vram_r), this), write8_delegate(FUNC(tandy1000_state::vram_w), this), 0xffff); - machine().device<nvram_device>("nvram")->set_base(m_eeprom_ee, sizeof(m_eeprom_ee)); + subdevice<nvram_device>("nvram")->set_base(m_eeprom_ee, sizeof(m_eeprom_ee)); } READ8_MEMBER( tandy1000_state::tandy1000_bank_r ) |