diff options
Diffstat (limited to 'src/devices/bus/cpc/amdrum.cpp')
-rw-r--r-- | src/devices/bus/cpc/amdrum.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/devices/bus/cpc/amdrum.cpp b/src/devices/bus/cpc/amdrum.cpp index 587577edf52..26345f48bc9 100644 --- a/src/devices/bus/cpc/amdrum.cpp +++ b/src/devices/bus/cpc/amdrum.cpp @@ -9,7 +9,6 @@ #include "emu.h" #include "amdrum.h" -#include "sound/volt_reg.h" #include "speaker.h" @@ -24,9 +23,6 @@ void cpc_amdrum_device::device_add_mconfig(machine_config &config) { SPEAKER(config, "speaker").front_center(); ZN428E(config, m_dac, 0).add_route(ALL_OUTPUTS, "speaker", 0.5); - voltage_regulator_device &vref(VOLTAGE_REGULATOR(config, "vref")); - vref.add_route(0, "dac", 1.0, DAC_VREF_POS_INPUT); - vref.add_route(0, "dac", -1.0, DAC_VREF_NEG_INPUT); // no pass-through } @@ -51,7 +47,7 @@ void cpc_amdrum_device::device_start() { m_slot = dynamic_cast<cpc_expansion_slot_device *>(owner()); address_space &space = m_slot->cpu().space(AS_IO); - space.install_write_handler(0xff00,0xffff,write8_delegate(FUNC(cpc_amdrum_device::dac_w),this)); + space.install_write_handler(0xff00,0xffff, write8smo_delegate(*this, FUNC(cpc_amdrum_device::dac_w))); } //------------------------------------------------- @@ -63,7 +59,7 @@ void cpc_amdrum_device::device_reset() // TODO } -WRITE8_MEMBER(cpc_amdrum_device::dac_w) +void cpc_amdrum_device::dac_w(uint8_t data) { m_dac->write(data); } |