🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.mac
Article #6845

Re: Icon port to Macintosh

#6845
From: lsr
Date: Mon, 18 Aug 1986 18:10
26 lines
1467 bytes
In article <827@ssc-vax.UUCP> keith@ssc-vax.UUCP (Keith Nemitz) writes:
>
>My problem is that Icon keeps track of it's own stacks with in the heap, and
>suprise of suprises, the stack sniffer on the mac keeps blowing me out of the
>water.
>
>My only hope is to turn off the blasted sniffer.  Can someone help me?
>  I can't imagine that Apple would allow a marginally useful thing like the
>stack sniffer to be undisableable (???)

You can turn off the "stack sniffer" by setting the low memory global
StkLowPt to 0.  The VBL interrupt routine stores the "low-water" stack point
in this variable, and compares it to the end of the application heap.

Be sure to re-enable this by setting it to FFFFFFFF when your application
leaves.

-- 
Larry Rosenstein

Object Specialist
Apple Computer

AppleLink: Rosenstein1
UUCP:  {sun, voder, nsc, mtxinu, dual}!apple!lsr
CSNET: lsr@Apple.CSNET
Technical Details
Message-ID: <138@apple.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!decwrl!sun!idi!apple!lsr
References: <827@ssc-vax.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!decwrl!sun!idi!apple!lsr
From: lsr@apple.UUCP
Newsgroups: net.micro.mac
Subject: Re: Icon port to Macintosh
Message-ID: <138@apple.UUCP>
Date: Mon, 18-Aug-86 14:10:13 EDT
Article-I.D.: apple.138
Posted: Mon Aug 18 14:10:13 1986
Date-Received: Wed, 20-Aug-86 05:02:17 EDT
References: <827@ssc-vax.UUCP>
Reply-To: lsr@apple.UUCP (Larry Rosenstein)
Distribution: net
Organization: Advanced Development Group, Apple Computer
Lines: 26