diff options
author | Aaron Giles <aaron@aarongiles.com> | 2020-09-13 20:45:30 -0700 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2020-09-13 20:45:30 -0700 |
commit | 83e54266ab000f0035660d48d618b12020a832d7 (patch) | |
tree | 7e52171142c2dbbc8406291eeddd342fb2855a2a | |
parent | d54e0e3f9f310f216aad96a4817d98f9d4e1f9f0 (diff) |
qbert: Better approximation of Votrax frequencies, pending deeper analysis.
-rw-r--r-- | src/mame/audio/gottlieb.cpp | 6 |
1 files 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; } } |