[cid:4b21a1f5-20c2-4c05-b68d-f4450f63ad70] Not random at all. (9E/A0 is just a jitter of my program. From: tickets@deniseemu.p.re.sourceforge.net tickets@deniseemu.p.re.sourceforge.net on behalf of gpz gpz@users.sourceforge.net Sent: Monday, March 9, 2026 11:26 PM To: [deniseemu:tickets] 134@tickets.deniseemu.p.re.sourceforge.net Subject: [deniseemu:tickets] #134 TOD clock error. VICE also uses random fluctuation for the TOD clocks, btw [tickets:#134] TOD clock error. Status: open Labels: TOD Created:...
ok. I made a test and put just the and as in the 8580.. and it was not that causing the problem. so I don't know what is the problem. All I know is that the 6581 in that music does DOUNG like the 8580 (but with it's own character)
reSID and 6581 inaccuracy
CRT file unsupported
Well. Most games don't use it and the ones that use it, use it as a random generator. What I have noticed so far: The program I wrote can identify most emulators because each of them returns a different value (except vice x64sc and hosx64 which return the RIGHT value). But even the right value (985248 cycles in a TOD second) is "wrong" because on real hardware that number fluctuates by more than 1000 cycles and it's almost never the same. If you send me an email I will give you my program so you...
Well. I did not find any code doing that so I did myself. The code prints the number of cpu cycles in ONE secod (according to the TOD which relies on the mains frequency). The result of my program on vice is always 0f08a0. The result in Denise is always 0f0964. So I suggest one of those 2 things: 1. Make it so it's 0f08a0 Or 1. Make it so it fluctuates by +/- 500-1000 cycles following a sinusoidal wave (like for the tape wobbling) The choice is yours. But a fixed wrong value is just wrong 😉 and tickles...
A side note: the frequency of the mains is not accurate nor stable. So on a real C64 the numbers fluctuate A LOT (even with a new quartz). But with an original quartz you will see more that a thousand cpu cycles per second LESS in less than 5 minutes. That's because the quartz (Y1) is 50 year old and nobody bother to change it. (But I will soon)
TOD clock error.