diff --git a/asm/play.s b/asm/play.s index f03b1f4..d38166b 100644 --- a/asm/play.s +++ b/asm/play.s @@ -41,9 +41,10 @@ *--- DP may be anywhere in bank 0, but make sure it's PAGE aligned *---- for performance reasons -; rel dsk play.l + ext EndOfAnimFrame + ; ; Defines, for the list of allocated memory banks ; @@ -74,18 +75,19 @@ extended_command lsr bcs :end_of_file -* ; end of frame + ; end of frame + ; check elapsed ticks (need at least 1) + ; For now just inline vsync (preferable to check the number of + ; if jiffy that have elapsed, because if the animation uses more than + ; roughly 10% of the screen we don't want to sync here + phx + + jsl EndOfAnimFrame + + plx + bcs :end_of_file + ldy #$2000 -* ; check elapsed ticks (need at least 1) -* ; For now just inline vsync (preferable to check the number of -* ; if jiffy that have elapsed, because if the animation uses more than -* ; roughly 10% of the screen we don't want to sync here -* lda