Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!apple!apple.com!blob From: blob@apple.com (Brian Bechtel) Newsgroups: comp.sys.mac.programmer Subject: Re: DDPWrite Problem found Message-ID: <2673@internal.Apple.COM> Date: 6 Jul 89 22:04:32 GMT Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 13 References:<5920@hubcap.clemson.edu> <7869@hoptoad.uucp> <14249@dartvax.Dartmouth.EDU> In article <14249@dartvax.Dartmouth.EDU> earleh@eleazar.dartmouth.edu (Earle R. Horton) writes: > There is, however, a fairly simple test for Handle nihilism. Run > your code on a 68000 machine, stuff something odd in the longword at > location zero, and wait for System Error 2. If your code runs on more > advanced processors only, put something there which will generate a > Bus Error. Technote 7 suggests the value 'NIL!' will work for both. Mr. Bus Error, available on the Phil & Dave's Excellent CD, sets up a VBL task that repeatedly sets the long at location 0 to an odd value. That way, even if you're trashing 0, when you jump to zero you'll catch it. --Brian Bechtel blob@apple.com "My opinion, not Apple's"