Path: utzoo!attcan!uunet!husc6!bloom-beacon!mit-eddie!uw-beaver!ssc-vax!cxsea!blm
From: blm@cxsea.UUCP (Brian Matthews)
Newsgroups: comp.sys.mac
Subject: Re: IconWrap for ShowINIT
Message-ID: <2575@cxsea.UUCP>
Date: 27 Nov 88 18:48:31 GMT
References: <15979@dhw68k.cts.com> <2588@munnari.oz>
Reply-To: blm@cxsea.UUCP (Brian Matthews)
Organization: Computer X Inc.
Lines: 26

John Lim (jkjl@munnari.oz) writes:
|Guess it's time to upgrade to a newer ShowINIT. It still puzzle's me
|why InitGraf() is needed though, as it is initialized by INIT 31
|also. Perhaps someone can explain...

Actually INIT 31 only does an InitGraf on 64K ROM machines and Mac II's
- not Plusses or SEs.  The relevant code looks something like:

		tst		Rom85
		bpl.s		not64k
		
not64k		
		btst		#$e, Rom85  ; Yes, #$e
		bne.s		loadinits
		pea		-4(A5)
		_InitGraf
		_InitPalettes
loadinits	

(This is from the 6.0.2 INIT 31 - your mileage may vary.)  So _InitGraf
is only called for 64K ROMS and Mac II's or higher.  Anyone at Apple have
any idea why?

-- 
Brian L. Matthews  blm@cxsea.UUCP   ...{mnetor,uw-beaver!ssc-vax}!cxsea!blm
+1 206 251 6811    Computer X Inc. - a division of Motorola New Enterprises