diff options
author | 2013-10-04 18:03:47 +0000 | |
---|---|---|
committer | 2013-10-04 18:03:47 +0000 | |
commit | cd6b8a92aa02339b6f79151fe6b277fec986bf5e (patch) | |
tree | 0a39f9a69c9a35242f53b9a83b04035e52aeecea /src | |
parent | 505ac880f2c237775530a75bf7a4c3cb0a635c00 (diff) |
(mess) isa_dectalk: much better now although quieter and some pops and squeaks. (nw)
Diffstat (limited to 'src')
-rw-r--r-- | src/mess/machine/isa_dectalk.c | 9 |
1 files changed, 1 insertions, 8 deletions
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) |