From 83e54266ab000f0035660d48d618b12020a832d7 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Sun, 13 Sep 2020 20:45:30 -0700 Subject: qbert: Better approximation of Votrax frequencies, pending deeper analysis. --- src/mame/audio/gottlieb.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mame/audio/gottlieb.cpp b/src/mame/audio/gottlieb.cpp index 86405adeda9..db7d34b0ccc 100644 --- a/src/mame/audio/gottlieb.cpp +++ b/src/mame/audio/gottlieb.cpp @@ -347,7 +347,7 @@ void gottlieb_sound_r1_with_votrax_device::device_post_load() gottlieb_sound_r1_device::device_post_load(); // totally random guesswork; would like to get real measurements on a board - m_votrax->set_unscaled_clock(600000 + (m_last_speech_clock - 0xa0) * 10000); + m_votrax->set_unscaled_clock(900000 + (m_last_speech_clock - 0xa0) * 9000); } @@ -371,7 +371,7 @@ void gottlieb_sound_r1_with_votrax_device::votrax_data_w(uint8_t data) void gottlieb_sound_r1_with_votrax_device::speech_clock_dac_w(uint8_t data) { // prevent negative clock values (and possible crash) - if (data < 0x65) data = 0x65; + if (data < 0x60) data = 0x60; // nominal clock is 0xa0 if (data != m_last_speech_clock) @@ -379,7 +379,7 @@ void gottlieb_sound_r1_with_votrax_device::speech_clock_dac_w(uint8_t data) logerror("clock = %02X\n", data); // totally random guesswork; would like to get real measurements on a board - m_votrax->set_unscaled_clock(600000 + (data - 0xa0) * 10000); + m_votrax->set_unscaled_clock(900000 + (data - 0xa0) * 9000); m_last_speech_clock = data; } } -- cgit v1.2.3