Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!lees.cogsci.uiuc.edu!resnick From: resnick@lees.cogsci.uiuc.edu (Pete Resnick) Newsgroups: comp.sys.mac.programmer Subject: Re: Background MAGIC (and I don't mean multifinder!!) Message-ID: <1990Aug10.175429.6092@ux1.cso.uiuc.edu> Date: 10 Aug 90 17:54:29 GMT References: <8JTNK0C@cs.swarthmore.edu> <82899@tut.cis.ohio-state.edu> <23598@dartvax.Dartmouth.EDU> Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 15 The method I have been using for getting something running in the background is writing the code as a device driver that is in the system heap and locked and the dNeedTime bit set. This seems much safer than patching traps, and unlike VBL tasks (at least in THINK C 4.0) you can have global variables floating around and call routines that move memory. All the INIT does is call OpenDriver and exits. pr -- Pete Resnick (...so what is a mojo, and why would one be rising?) Graduate assistant - Philosophy Department, Gregory Hall, UIUC System manager - Cognitive Science Group, Beckman Institute, UIUC Internet/ARPAnet/EDUnet : resnick@kant.cogsci.uiuc.edu BITNET (if no other way) : FREE0285@UIUCVMD