Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!agate!saturn!ucscd.UCSC.EDU!biling From: biling@ucscd.UCSC.EDU (Doug Rosener) Newsgroups: comp.sys.mac.programmer Subject: Turning off interrupts Message-ID: <6683@saturn.ucsc.edu> Date: 15 Mar 89 04:01:36 GMT References: <457@sys.uea.ac.uk> <7550@polya.Stanford.EDU> <27058@apple.Apple.COM> <477@sys.uea.ac.uk> Sender: usenet@saturn.ucsc.edu Reply-To: biling@ucscd.UCSC.EDU (Doug Rosener) Organization: University of California, Santa Cruz; CATS Lines: 21 I am writing a program that is very sensitive to timing. Right after a picture is displayed, a routine which digitizes the operators voice is activated. Idealy, there is no delay, but a fixed <1ms delay is acceptable. Right now I am getting variable delay (~10ms). Is it the interrupts? I am not clear about the mac os. If I turn off the interrupts for the 68000 while this part of the program is running, will I ruin anything (assuming I don't care about keeping the tick count and time accurate?). Will the display suffer? If it is okay to turn off the interrupts, is there a convenient way to do this hi-level?. Thanks Doug Rosener biling@ucscd.BITNET biling@ucscd.ucsc.EDU