C64 Coding: stabilizing raster with cia timer reference /Copyfault

Written on 09/11/2026
By Copyfault

Quoting TWW
Quoting Copyfault
Quoting Krill
Quoting TWW
Appreciate the intellectual exercise, but I admit I am curious in which particular use case is using a separate (free of charge) timer for sync. purposes isn't an option vs. the arithmetic exercise to derive it from a v-sync timer?
Yeah, seems awfully contrived. =)
Well, this was the reason I "rewrote" the OP, or what I thought was asked for. And if all other timers and IRQ-source are in use already (could be), then reusing a timer *can* be a thing you need in reality...


Fair enough and by all means, was just curious in what use case this would apply.
I guess the "real" use case is only known to mankeli ;)

I for one am happy to play around with math and see some application of it on the 6510.

Quoting TWW
I mean if you have 1 timer set to 60 Hz (which is normally reasonable if you want consistant speed across systems) there is nothing stopping you to implement a counter inside this handler which wraps at 6 which the in turn gives you a "new timer" at 10 Hz if you so desire with very little cost. Hence the use case question as there is usually an easier way :)
Well, I won't say anything against that ;)