Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!ucla-cs!kona.cs.ucla.edu!tj From: tj@kona.cs.ucla.edu (Tom Johnson) Newsgroups: comp.sys.mac.programmer Subject: Re: jGNEFilter Message-ID: <1991Apr2.192534.7628@cs.ucla.edu> Date: 2 Apr 91 19:25:34 GMT References: <156750@tiger.oxy.edu> <50988@apple.Apple.COM> Sender: usenet@cs.ucla.edu (Mr. News Himself) Organization: UCLA Computer Science Department Lines: 25 Nntp-Posting-Host: kona.cs.ucla.edu In article <50988@apple.Apple.COM> nerm@Apple.COM (Dean Yu) writes: > Most bad... jGNEFilter procs expect the event record to be in A0. Since >you used A0 to call the next procedure, you're effectively passing the >beginning of the next procedure to itself as the event. Now if that >procedure modifies the event.... Actually, according to TN 85: "After all other GNE processing is complete the routine will be called with A1 pointing to the event record and d0 containing the boolean result....." So doing a jsr(a0) to jump into the previous jGNEFilter routine should work just fine. > -- Dean Yu > Blue Meanie, Negative Ethnic Role Model, etc. > Apple Computer, Inc. > My opinions and so on and so forth... Tom -- Tom Johnson "I put this moment.............................here tj@cs.ucla.edu I put this moment......................here I put this moment-- Over here!" (Kate)