From 173ccc2b73eca003cc9588503a53cef49a70f358 Mon Sep 17 00:00:00 2001 From: AJR Date: Mon, 28 May 2018 14:53:20 -0400 Subject: ad1848.cpp: Room for improvement (nw) --- src/devices/sound/ad1848.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3