Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!nerm From: nerm@Apple.COM (Dean Yu) Newsgroups: comp.sys.mac.programmer Subject: Re: jGNEFilter Message-ID: <51107@apple.Apple.COM> Date: 3 Apr 91 06:38:19 GMT References: <156750@tiger.oxy.edu> <50988@apple.Apple.COM> <1991Apr2.192534.7628@cs.ucla.edu> Organization: Apple Computer Inc., Cupertino, CA Lines: 23 In article <1991Apr2.192534.7628@cs.ucla.edu> tj@kona.cs.ucla.edu (Tom Johnson) writes: >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. For the record, and so that people will stop sending me mail, I was wrong, I was on drugs, I didn't know what I was talking about, and I shouldn't have been posting at 5 in the morning. I realised the info I gave was bogus shortly after I sent it out, but I was too pooped to make a followup. Please stop sending me hate mail... -- Dean