[comp.sys.mac] Megamax C patches

woody@tybalt.caltech.edu.UUCP (04/28/87)

A while ago, I discovered some patches to the Megamax C compiler version
3.0 in order to make it work the the Mac II.  The reason why I desided
to wait so long before sending out the patches to the few who asked
for them is that I discovered (the day before I was going to post the
patches!) that they don't work.  For some reason, programs with my patch
sometimes bomb on exiting.  Curioser and curioser.  I have no idea
why this happens.  Well, I'm sure sending in my $15 for an update now...

*sigh*  Why do these things happen to me?
- William Woody                          Mac! > ][n && /|\
  woody@tybalt.caltech.edu
  woody@juliet.caltech.edu

dwb@apple.UUCP (Dave W. Berry) (04/29/87)

I had the problem of programs bombing on exit also.  Specifically
it was UW 3.4.  It turns out that somewhere in the Megamax libraries
they use BasicGlobs (0x2b6).  This was a previously unused (but reserved)
low memory global which is now being used by the operating system.
I was able to make uw work by using FEdit to patch two occurences of
02b6 to 0a78 (ApplScratch)  You might try applying the same patch
to the library itself.  Note that this will cause any application
which actually uses ApplScratch to start failing.

	
-- 
	David W. Berry
	dwb@well.uucp                   dwb@Delphi
	dwb@apple.com                   293-0752@408.MaBell