.. fade to black ...
"MANY MANY HOURS OF HEAD BANGING LATER"......
.. fade in ..
I have finally got the sound board working 100% now.
.... from set 1!
First, massive, massive thanks to cmonkey for debugging the initialisation code for me and telling me what to look for, getting rid of the SOUND BOARD INTERFACE ERROR was a doddle once I knew that I was looking for a sequence coming into the board and then expecting it to respond so a 245 not doing its job between BuD0-7 and BSD0-7 was replaced and the issue went away.
Some of you have seen the video on the facebook page with this the other night.
Next was the sound itself, i've had to replace every 191 chip (F3,4,5,8,9,10) - all of them were playing up one way or another, the AY3-8910's are fine.
It's at this point I had a visit from Tronads last night late on and we had a mess about some more with this while he sat listening to me tech babble my way through the circuit.
I had an issue where the sound would die after about 20-30 mins when the board warmed up, this was a 161 in the Sound IO clock circuit mis-shaping the clock as it started to fail so while the frequency was right, the shaping just wasn't and it was slightly erratic.
At the same time i'd been looking at the 245 between SD0-7 and BSD0-7 thinking this was the issue and had piggybacked it with a known good one while I was looking at the clock.
I left the board running overnight with the channel test but the speakers turned off and in the morning it was still good.
Replacing the clock definitely seemed to be the end of the problem but i've socketed and replaced the 245 at A11 anyway, as I was suspicious after removing the chip and the data bus stopping and not coming back after a power cycle.
This left me with working sound channel test - all 6 fine but when running sound test I had a couple of them missing.
I've tested the AY3's in a good board and narrowed it down to something on the F7 socket, i've replaced the sockets on the F6/F7 chips (ay3's) as they were a bit flaky and started to disintegrate as I put the desoldering iron near them - replacing definitely improved things but not completely fixed it.
I'd been having an issue where sound 16 (ATTACK SOUND) and sound 20 (TANK BLIP) weren't working so in a feat of sheer desperation I was re-piggybacking the 191's and the F3 one seemed to still be the issue.
Well, not really, I traced it to the 7407 at C6 as all the sounds route through this chip so I found a replacement and piggy-backed it and the missing sounds returneth BUT the music sounds (IO tower etc) were all hissy now - arrrrggghh!!!
I pulled and socketed the 7407 and put the spare in thinking this was it - nope!
The one I had pulled from the board tested as bad so that might have explained it.
Anyway, I have no idea why but I removed the 7407 from its socket to look at signals isolating the sound and ran the sound test and everything plays absolutely 100% no issues.
WT-Actual-F!?!?!
I don't get it. Anyone got any ideas what the 7407 in the circuit is supposed to be doing. Everything is pulled up to 12v and then pulsed to lower values by the 191's - it seems the 191's output (pin 4 and 12 combined) goes to the 07's input and the output goes to the control bit of the 4016B.
Its possible the issue is the 4016's - I tried piggybacking 4066's on top as they're pin compatible but it made no difference.
The sounds are running fine without the 7407 - the only thing I can think of is are they responsible for muting or something?
I know there's a resistor you can pull up to give yourself attract mode sound.
Anyway, effectively I now have a full working set that I can use i'm just puzzled why that chip is almost redundant to the circuit.