Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!ENUXHA.EAS.ASU.EDU!trotter From: trotter@ENUXHA.EAS.ASU.EDU (Russell T. Trotter) Newsgroups: comp.sys.mac.programmer Subject: !Animation again.... Message-ID: <9102102029.AA14342@enuxha.eas.asu.edu> Date: 10 Feb 91 20:29:56 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: trotter@enuxha.eas.asu.edu (Russell T. Trotter) Organization: Arizona State Univ, Tempe AZ Lines: 25 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.