My New Mockingboard (full size) is now built and working like a charm...
@Charlie, Have you noticed the Samples.zip disk image I put up, the Music files play but the sound is wrong, please give it ago
Hi Bas... amazingly slow reply:
Glad it's working well. Yes I did notice the same issue, although I'm at least a little revealed that I can't find any other misbehaving software. I have an untested theory: I believe the culprit is the player toggling the VIA's and so the AY IC's in an unusual way and this is sending distortion down the outputs... I think my version of the board isn't catching this because I went for a very minimal version of the output circuitry to keep the component count down. Assuming I'm correct the cure would be to replace the two electrolytic output capacitors on the daughter board with two pairs (negative sides facing each other) and then adding something like a 56k resistor to ground on the output of each channel...
...another possibility is those diodes I added to make sure the card stopped gracefully in the event of a crash/lock-up (not in the Mockingboard design) could conceivably be an issue if software driving the card keeps sending resets. The AY's don't reset on an original board and just keep playing their last instruction if not told to stop. It could be the player is using this 'feature' to perform some trickery, but on my card the AY's are resetting along with the VIA's so messing with the sound...
...I'll do some testing some time & if it works will do an updated version of the daughter board. Of course if that doesn't sort it the other possibility is the issue is being masked by the kind of amps used in the original design, which would require a redesign.
Speaking of which:
...in a moment of madness I updated the Mockingbird a bit further. No new features on the Mockingboard side, but it was annoying me that my version had no option for speech - it's just wasn't worth it to include support for a rarely used feature that requires rare and amazingly expensive IC's to do these days. So I added COVOX support to the card.
For any reading who aren't in the know the COVOX is, for want of a better phrase, a very simple software driven 8 bit DAC that found it's way on to old PC's (Atari 800's, and C=64 too I think). On a PC you could play mono samples up to CD-ish quality, although I suspect a 1mhz 6502 would struggle to come close to that. A quick 'n dirty way to allow my card to do stuff like speech, mod files, among other things.
Assuming I got the wiring right the above design defaults to Mockingboard mode, the COVOX components can be omitted if not wanted. The COVOX side uses the exact same addressing as the Mockingboard and is switched in if A10 on the expansion bus is driven high, back to Mockingboard again if switched low. Indeed, as the AY IC's will continue to do whatever they are told until told otherwise it should be possible to:
-Play the 6 Mockingbird channels as usual
-Swap to COVOX mode while that's going on to play a sample
-Swap back to Mockingboard mode to get the AY's to do the next thing
-Swap back to COVOX mode to continue the sample
...and so on. With a bit of care I guess some groovy tunes should be possible, although (depending on COVOX bit rate) the Apple may not have time for much else.
There's already COVOX aware proggies for playing mods/trackers coded for 6502, and tons of tunes, that wouldn't take much fiddling to get running on an Apple II - in theory! That's where my latest update comes unstuck - I can't code for toffee, so assuming the hardware actually works would anyone be interested in a coding project..?
PS. Examples of COVOX output:
https://www.youtube.com/watch?v=okutUKcuilA
https://www.youtube.com/watch?v=jFtFju1Gf4w
https://www.youtube.com/watch?v=spOenlrSSOE
...yes, PC stuff, but the principle is the same.