Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!ucbvax!hplabs!nsc!voder!apple!lsr From: lsr@Apple.COM (Larry Rosenstein) Newsgroups: comp.sys.mac.programmer Subject: Re: Help With VBL Tasks Keywords: VBL task; post itself; BOMB Message-ID: <451@internal.Apple.COM> Date: 20 Jan 89 17:58:17 GMT References: <8343@orstcs.CS.ORST.EDU> <27628@ucbvax.BERKELEY.EDU> Organization: Advanced Technology Group, Apple Computer Lines: 16 In article <27628@ucbvax.BERKELEY.EDU> oster@dewey.soe.berkeley.edu.UUCP (David Phillip Oster) writes: >n addition to all the previous problems, most versions of SetUpA5() look >at a global variable, CurrentA5, which is not guaranteed to be correct >under multifinder. Tech Note 208 also mentions a problem in that SetupA5 saves the current A5 on the stack, which screws up some optimizing compilers (eg, MPW C 3.0). It suggests that you save the current A5 value in a local place and restore it at the end. -- Larry Rosenstein, Object Specialist Apple Computer, Inc. 20525 Mariani Ave, MS 46-B Cupertino, CA 95014 AppleLink:Rosenstein1 domain:lsr@Apple.COM UUCP:{sun,voder,nsc,decwrl}!apple!lsr