From cd6b8a92aa02339b6f79151fe6b277fec986bf5e Mon Sep 17 00:00:00 2001 From: cracyc Date: Fri, 4 Oct 2013 18:03:47 +0000 Subject: (mess) isa_dectalk: much better now although quieter and some pops and squeaks. (nw) --- src/mess/machine/isa_dectalk.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src') diff --git a/src/mess/machine/isa_dectalk.c b/src/mess/machine/isa_dectalk.c index 6d9e04d3661..c179a775d8b 100644 --- a/src/mess/machine/isa_dectalk.c +++ b/src/mess/machine/isa_dectalk.c @@ -49,14 +49,7 @@ WRITE8_MEMBER(dectalk_isa_device::dma_w) WRITE16_MEMBER(dectalk_isa_device::dac_w) { - // TODO: Some words are understandable but overall it sounds bad - UINT16 out; - out = (data >> 4) & 0xfff; - out = ((out >> 1) & 0x555) | ((out & 0x555) << 1); - out = ((out >> 2) & 0x333) | ((out & 0x333) << 2); - out = ((out >> 4) & 0xf0f) | ((out & 0xf0f) << 4); - out |= (data & 0x8) << 12; - m_dac->write(out << 3); + m_dac->write(data & 0xfff0); } WRITE16_MEMBER(dectalk_isa_device::output_ctl_w) -- cgit v1.2.3-70-g09d2