View Single Post
Old 15 August 2012, 11:10   #31

phx's Avatar
Join Date: Nov 2009
Location: Herford / Germany
Posts: 1,066
Originally Posted by dalton View Post
    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.
phx is offline  
Page generated in 0.06841 seconds with 10 queries