Path: utzoo!utgpu!watserv1!watmath!att!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!mimsy!mojo!russotto From: russotto@eng.umd.edu (Matthew T. Russotto) Newsgroups: comp.sys.mac.programmer Subject: Re: Mac II retrace manager and Tick Counts Message-ID: <1990Sep10.212420.15408@eng.umd.edu> Date: 10 Sep 90 21:24:20 GMT References: <24126@dartvax.Dartmouth.EDU> Sender: news@eng.umd.edu (The News System) Organization: College of Engineering, Maryversity of Uniland, College Park Lines: 11 In article <24126@dartvax.Dartmouth.EDU> thomas@eleazar.dartmouth.edu (Thomas Summerall) writes: >I can and can't do in an interrupt driven SlotVInstall routine, and I don't >want to find out by trial and error if I don't have to... Use SlotVInstall anyway. All you have to do is increment one of your own variables as soon as it your routine is called-- there are various tricks to getting access to global data from an interrupt routine, I think the easiest way is to stick extra bytes off the end of the VBL header. Then, in the main program, use the same logic, but instead of while (TickCount()..., use while (myvbl.myvar...)