diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2018-05-28 14:53:20 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2018-05-28 14:53:20 -0400 |
commit | 173ccc2b73eca003cc9588503a53cef49a70f358 (patch) | |
tree | 06c91e0bef4e6facbcb1b0c28e01ff5c941d6a95 | |
parent | 5940ecac8d827be061aae240d1e42d278a425a12 (diff) |
ad1848.cpp: Room for improvement (nw)
-rw-r--r-- | src/devices/sound/ad1848.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/sound/ad1848.cpp b/src/devices/sound/ad1848.cpp index a7d928d70b3..66e6e958acb 100644 --- a/src/devices/sound/ad1848.cpp +++ b/src/devices/sound/ad1848.cpp @@ -2,6 +2,7 @@ // copyright-holders:Carl // Analog Devices AD1848, main codec in Windows Sound System adapters +// TODO: Emulate pin-compatible Crystal Semiconductor CS4231 and its extra Mode 2 features #include "emu.h" #include "sound/ad1848.h" @@ -100,6 +101,7 @@ WRITE8_MEMBER(ad1848_device::write) case 9: { m_play = (data & 1) ? true : false; + // FIXME: provide external configuration for XTAL1 (24.576 MHz) and XTAL2 (16.9344 MHz) inputs attotime rate = m_play ? attotime::from_hz(((m_regs.dform & 1) ? 16.9344_MHz_XTAL : 24.576_MHz_XTAL) / div_factor[(m_regs.dform >> 1) & 7]) : attotime::never; m_timer->adjust(rate, 0 , rate); |