🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #15462

Re: Megamax C compiler

#15462
From: woody
Date: Tue, 07 Apr 1987 21:02
25 lines
1992 bytes
In article <8704071446.AA00584@jade.berkeley.edu> LOGANJ@BYUVAX.BITNET writes:
>Megamax claims to have a new version (3.0d) of their C compiler that is
>compatible with the Mac SE and Mac II.  I sent them my master disk and
>they sent me a copy.  I haven't used it on a Mac SE or Mac II yet.  I was
>told that the old version will not work with the new operating systems
>because Apple has changed the conventions of some of the system globals
>that Megamax was using.  The new version of Megamax C has other
>improvements.

Specifically, the global at 0x02D6 was changed from "BasicGlobs" (documented
only through rumour and not in IM) to "ExtendedMem" in the Mac II.  Megamax
uses this global to place a copy of A4 for various reasons (as in A4 was
used as a pointer to the C global variables and string variables).  Thus,
when any program compiled with the Megamax compiler ran on the Mac II, the
Mac II died in initialization.

I patched my copy of version 3.0a to work with the Mac II.  If anyone's
interested, I'll send them instructions to patch their compiler.  I don't
guarentee the patch; it's only a temporary holdover until I get an updated
version from Megamax.

For those who can't wait...
- William Woody                          Mac! > ][n && /|\
  woody@tybalt.caltech.edu
  woody@juliet.caltech.edu
Technical Details
Message-ID: <2265@cit-vax.Caltech.Edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!sri-spam!ames!ll-xn!cit-vax!tybalt.caltech.edu!woody
References: <8704071446.AA00584@jade.berkeley.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!sri-spam!ames!ll-xn!cit-vax!tybalt.caltech.edu!woody
From: woody@tybalt.caltech.edu.UUCP
Newsgroups: comp.sys.mac
Subject: Re: Megamax C compiler
Message-ID: <2265@cit-vax.Caltech.Edu>
Date: Tue, 7-Apr-87 16:02:04 EST
Article-I.D.: cit-vax.2265
Posted: Tue Apr  7 16:02:04 1987
Date-Received: Fri, 10-Apr-87 06:11:47 EST
References: <8704071446.AA00584@jade.berkeley.edu>
Sender: news@cit-vax.Caltech.Edu
Reply-To: woody@tybalt.caltech.edu.UUCP (William Edward Woody)
Organization: Calfornia Institute of Technology
Lines: 25