summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/includes
diff options
context:
space:
mode:
author Richard Goedeken <Richard@fascinationsoftware.com>2015-08-02 13:46:23 -0700
committer Richard Goedeken <Richard@fascinationsoftware.com>2015-08-02 13:46:23 -0700
commit51309eea058a9d645bffcadd68b06fb7a4a61907 (patch)
tree292dd73873d6d278bb3c2ced7932153d389f11d0 /src/mess/includes
parent9a56c3c76c80fa718440efb897c3bb2f02a6b09a (diff)
1. increase accuracy of TRS-80 Coco audio output by holding the analog output value while the sound_enable line is low. this fixes buzzing noise in Sock Master's Donkey Kong. 2. add comments regarding the interaction between the PIA i/o lines and the analog subsystem
Diffstat (limited to 'src/mess/includes')
-rw-r--r--src/mess/includes/coco.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mess/includes/coco.h b/src/mess/includes/coco.h
index e87f5b2f8ed..c0565aba103 100644
--- a/src/mess/includes/coco.h
+++ b/src/mess/includes/coco.h
@@ -243,6 +243,10 @@ private:
// DAC output
UINT8 m_dac_output;
+ // remember the last audio sample level from the analog sources (DAC, cart, cassette) so that we don't
+ // introduce step changes when the audio output is enabled/disabled via PIA1 CB2
+ UINT8 m_analog_audio_level;
+
// hires interface
emu_timer *m_hiresjoy_transition_timer[2];
bool m_hiresjoy_ca;