Hi Thorsten,
hmm, this doesn't appear to be that issue - this isn't a sporadic or random failure, I have not managed to get a single 8580 to respond to a gate bit change. The same code works on the 6581s I have.
To be fair, my hardware setup is pretty rudimentary - I've built a (veroboard) circuit based on the schematic here: http://www.ucapps.de/mbhp/mbhp_sid_v3.pdf
The main difference is that I haven't used your controller - I've just got it hooked up to an Arduino which is delivering a 1Mhz clock off one of the pins, the 3 lines to the shift registers and one line to CS on the SID. I'll be honest, I'm an experimenter and a geek - I got into this because I found it interesting, not because I really know what I'm doing :-)
The code I've written works pretty well (on the 6581s) but absolutely fails on the 8580 because:
1) as soon as I write to any of the SID control registers setting a waveform, the SID plays the note even if the gate bit is set to 0.
2) setting or resetting bit 0 on the control register has absolutely *no* effect, the note does not stop and no envelope is triggered (because it's always playing).
There's another thread () where the guy seems to be describing *exactly* this issue - he's not talking about random gate triggering, he's saying that as soon as he sets a waveform on the 8580 it triggers the sound. This is what I am seeing.
Now, I have tested this with 3 6581 chips and 6 8580 chips and the behaviour is consistent - the gate works on the 6581s and not on the 8580s. I'm totally convinced it is my code, but I can't for the life of me work out why (which bugs the hell out of me).
I'm going to have to build a proper MIDIbox core and SID module just so I can see what the difference is with my tinkering I think!