Thanks for the recording. I think you recorded this from a exSID device? I hear a small difference in frequency which I think is there because of a 1Mhz clock. I also hear a beep at 0:09 which should not be there. Anyway, your 8580 has less distortion but I think we should compare recordings done on real C64 on PAL frequency. The recording I did is done on a 8580R5 2087 on a real C64.
Wrong emulation on reSID 6581
I can confirm it is actually clipping on a 8580 and therefore it sounds distorted. I've recorded it while playing the song on a real C64 and made sure the recording is not clipping. Just zoom in the audio sample and then it is clear that at certain parts it is clipped.
ok, then I can conclude that you didn't test the values I provided (without the patches that were done later). The tune you mentioned doesn't clip with the values I provided and doesn't have an annoying distortion. I just want to say that I focused on the output (not if the values make sense) and proof that we can actually get the right result on a 8580 with the implementation from February 2022. I was hoping that you could figure out why it worked out well and fix the implementation and then work...
I made a mistake here and tested with digi boost on so please ignore the finding about the Umi_64_loader.sid tune. Still an interesting tune to test with.
Did you test the values provided from the original post, without all the patches you did afterwards? Please do so and compare it with a real 8580. For the 8580, I ended up with a opamp_voltage_size of 0.5 and a voice_DC_voltage of 4.838 but these values are only right before patch: https://sourceforge.net/p/vice-emu/bugs/1698/#015b With this patch I couldn't get it right anymore compared to a real 8580 with the adjustments of the opamp_voltage_size and voice_DC_voltage described above in post from...
cleanup
added detection of device within the local network