Quote:
Originally Posted by dalton
Code:
bset.b #0,flags(pc)
|
Your approach is recommendable, although the PC-relative addressing mode is not allowed here.
In Sqrxz I am incrementing a frame counter during a copper interrupt, caused at the bottom of the display. The rendering routine can then compare its frame counter with the hardware frame counter and decide to either drop the frame, when the hw-counter is higher, or wait until both are equal again.