[comp.sys.mac.programmer] !Animation again....

trotter@ENUXHA.EAS.ASU.EDU (Russell T. Trotter) (02/11/91)

 I would like to start by thanking every one who replied
to my first post about animation.  

Several of the replies explained about syncing to vertical
retrace.  I tried this in one of my first attempts but
it slowed the action down of the animation to a crawl.

My VBLtask was quite simple...
	
	first I saved A5 , incremented a ctr variable ,restored
A5 and returned.  

my calling program had a segment like this..

ctr = 0;
while (ctr == 0);           

drawmystuff();               

and in the "background" my VBLtask would break m
out of the "infinite loop" after the retrace but like
I said this was horribly slower than just drawing 
without any syncing.  ???  Any comments about this
would be greatly appreciated.