home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uwm.edu!cs.utexas.edu!torn!nott!cunews!revcan!sidus!atronx.OCUnix.On.Ca!jammys!jam
- From: jam@jammys.ocunix.on.ca (James McOrmond)
- Message-ID: <jam.4113@jammys.ocunix.on.ca>
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Enforcer hits at 0000000
- Distribution: world
- References: <1g56slINN1p2a@rs1.rrz.Uni-Koeln.DE>
- Date: 13 Dec 92 19:26:26 EST
- Organization: Jammy's Amiga Corner BBS - Ottawa, On, Canada
- Lines: 20
-
- In article <1g56slINN1p2a@rs1.rrz.Uni-Koeln.DE> ad010@rrz.uni-koeln.de (Wilhelm Stiefelhagen) writes:
- >Hello Guys,
- >
- >Last week I tested my Amiga-Programms with Enforcer. I got a lot of
- >Enfercer hits of programs reading at adress 00000000. Some of the
- >programs are candidates for crashes, some are not.
- >Is this enforcer hit so common, and what is the reason?
-
- Whats happening is that your doing the equivalent of Load Address 0,
- instead of the Load number 0. This is a very common error. As far as
- some software crashing, and others not, it all depends on what number is
- in location 0 (Ie, if its a 0, then no problems). If something else
- changes the value in location 0, and you read the number (assuming you had
- loaded a 0 instead of loading location 0), who knows what might happen
- with your software.
-
- --
- James A McOrmond - Ottawa, Ontario, CANADA! - ZyXEL 16.8k V32bis Modem!
- Fidonet#1:163/165.0 - (613)521-0648 - VBBS Amiga Intuitionized BBS
- UUCP: Jam@Jammys.OCUnix.On.Ca - Amiga 3000T/25/5 - 383Megs
-