🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #15450

Re: Global blowing away Mac II?

#15450
From: jww
Date: Mon, 06 Apr 1987 07:43
21 lines
1390 bytes
In article <2236@cit-vax.Caltech.Edu>, woody@tybalt.caltech.edu (William Edward Woody) writes:
> The Megamax C compiler library stuff insists upon using the magic location
> 694 decimal (2B6 hex) in low memory to store a long word of data.  For some
> reason programs compiled using version 3.0 of the C compiler crashes a
> Mac II, and I think it may be because of this. ...
> ... What is at this location anyways?

$2B6 (aka 694 decimal) is
	ExpandMem	"pointer to expanded memory"
according to the APDA beta IM Vol. V file :AIncludes:SysEqu.a

It isn't in the MPW 1.0 includes, so it must be new.

Why doesn't it use 
	scratch20	equ	$1E4
	scratch8	equ	$9FA
which are unallocated and rarely used by programs?
-- 
	Joel West
	{ucbvax,ihnp4}!sdcsvax!jww	(ihnp4!gould9!joel once I fix news)
	jww@sdcsvax.ucsd.edu	if you must
Technical Details
Message-ID: <2957@sdcsvax.UCSD.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!seismo!esosun!ucsdhub!sdcsvax!jww
References: <2236@cit-vax.Caltech.Edu>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!seismo!esosun!ucsdhub!sdcsvax!jww
From: jww@sdcsvax.UUCP
Newsgroups: comp.sys.mac
Subject: Re: Global blowing away Mac II?
Message-ID: <2957@sdcsvax.UCSD.EDU>
Date: Mon, 6-Apr-87 02:43:23 EST
Article-I.D.: sdcsvax.2957
Posted: Mon Apr  6 02:43:23 1987
Date-Received: Thu, 9-Apr-87 03:29:58 EST
References: <2236@cit-vax.Caltech.Edu>
Organization: Western Software Technology, Vista, CA
Lines: 21
Summary: expandMem is $2B6