On Mon, 2005-04-25 at 12:17 +0200, Michael Schmitz wrote:
> > > offset 0 rc 16 buf.sig 90 buf.len 2 buf.name >nvram<
> > > offset 32 rc 16 buf.sig 95 buf.len 62 buf.name >system<
> > > offset 1024 rc 16 buf.sig 112 buf.len 193 buf.name >common<
> > > offset 4112 rc 16 buf.sig 160 buf.len 82 buf.name >APL,MacOS75<
> > > PRAM found at offset: 4112 1010
> > >
> > > How is the startup volume encoded in the oldworld nvram?
> >
> > Hrm.. I don't remember at the top of my head, have you tried using the
> > ioctl to request the kernel to tell you where the pram here ? on old
> > world, the startup volume can either be the OF boot device, which is a
> > normal OF partition (nvsetenv works on oldworld afaik), or you can try
> > to encode the "MacOS" boot volume but that's a very complicated story...
> 
> Oops, the term 'startup volume' was ill chosen :-) What I meant is the
> volume setting of the startup boing sound. That one seems to be encoded
> somewhat past the APL,MacOS75 resource in nw.

Yah, it's in the pram part. Normally, you should be able to use an ioctl
to get that zone. But I did that code a long time ago, may not be that
good anymore. Best is to look what Darwin does.

Ben.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to