Subject: Re: shutdown -r
To: None <paul@whooppee.com>
From: None <nigel@ind.tansu.com.au>
List: port-mac68k
Date: 08/26/1997 12:31:54
Paul Goyette wrote:
>
> On Mon, 25 Aug 1997, John P. Wittkoski wrote:
>
> > Colin Wood wrote:
> >
> > > Hmmm...yeah, I seem to remember someone else saying this at some point.
> > > There must be some low memory global that we don't quite have the right
> > > address for on the IIcx which we are touching. The only problem with that
> > > idea is that I thought a reboot pretty much wiped everything in memory,
> > > but I guess maybe it doesn't.
> >
> > How does MacOS determine a cold vs. warm startup?
>
> Well, there's a longword called WarmStart (located at low-memory global
> location 0x0CFC) that is looked at by (at least) the Slot Manager. From
> my admittedly low level of understanding of this code, WarmStart contains
> a value of 0x574C5343 (or, 'WLSC' in ASCII) to signal a restart. I
> haven't a clue as to what the MacOS does differently between the Warm and
> Cold starts.
I imagine that the main difference is a RAM test. Warm start
would be shorter because it may not need to test every byte in your
(up to) 128MB system RAM, and (up to) 2MB graphics RAM.
--
| Nigel Pearson, nigel@ind.tansu.com.au |"People say I'm strange, does it |
| Telstra IN Platforms, Sydney, Aust. | make me a stranger? |
| Office: 9206 3468 Fax: 9212 6329 | My best friend was born ... |
| Mobile: 014 611 322 Home: 9579 3293 | in a manger" Jesus Freak, DC Talk|