mirror of
https://github.com/holub/mame
synced 2025-10-05 16:50:57 +03:00
(mess) isa_dectalk: much better now although quieter and some pops and squeaks. (nw)
This commit is contained in:
parent
505ac880f2
commit
cd6b8a92aa
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user