Discussion:
Dumb Question: Do iMacs "know" what color they are?
(too old to reply)
William R. Walsh
2004-10-25 23:32:43 UTC
Permalink
Hello all...

As per the subject line, I'm wondering if the CRT-based iMacs happen to
"know" somehow what color they are. I've done some 9.2.2 installs on several
models of different colors/patterns and each time the Mac OS ends up
displaying a wallpaper image that matches the machine when setup has
completed.

Now I guess I've answered my own question...but if the iMacs *do* know their
own color, where is this information stored?

I'd appreciate any answer, thoughts or constructive comments on how to
better spend my time! :-)

William
Snit
2004-10-25 23:49:13 UTC
Permalink
Post by William R. Walsh
Hello all...
As per the subject line, I'm wondering if the CRT-based iMacs happen to
"know" somehow what color they are. I've done some 9.2.2 installs on several
models of different colors/patterns and each time the Mac OS ends up
displaying a wallpaper image that matches the machine when setup has
completed.
Now I guess I've answered my own question...but if the iMacs *do* know their
own color, where is this information stored?
I'd appreciate any answer, thoughts or constructive comments on how to
better spend my time! :-)
I would assume the Gestalt ID.
--
If A = B and B = C, then A = C, except where void or prohibited by law.
Roy Santoro, Psycho Proverb Zone (http://smallurl.com/?i=15235)
George Graves
2004-10-26 01:50:41 UTC
Permalink
Post by Snit
Post by William R. Walsh
Hello all...
As per the subject line, I'm wondering if the CRT-based iMacs happen to
"know" somehow what color they are. I've done some 9.2.2 installs on several
models of different colors/patterns and each time the Mac OS ends up
displaying a wallpaper image that matches the machine when setup has
completed.
Now I guess I've answered my own question...but if the iMacs *do* know their
own color, where is this information stored?
I'd appreciate any answer, thoughts or constructive comments on how to
better spend my time! :-)
I would assume the Gestalt ID.
I think it's probably simpler than that. The person on the assembly line
who checks to make sure that the machine boots probably picked the
appropriate wallpaper at that time. Reinstalling the OS would not change
that unless one re-formatted the disk before the re-install.
--
George Graves
------------------

Every guy owes himself at least one Ferrari before he dies
William R. Walsh
2004-10-26 02:24:33 UTC
Permalink
Hi!
Post by George Graves
I think it's probably simpler than that. The person on the assembly line
who checks to make sure that the machine boots probably picked the
appropriate wallpaper at that time. Reinstalling the OS would not change
that unless one re-formatted the disk before the re-install.
These disks were thoroughly reformatted before a reinstallation of the Mac
OS was performed. In fact, they were overwritten with all zeroes before
being put back into service. But when the machines were operational, the
owners had picked different wallpapers that usually were not a color or
pattern match for the computer.

What I find really odd is that Mac OS X doesn't pick up on these colors as
well...only the "Classic" style systems 9.1 and newer seem to. But then
again, Mac OS X doesn't seem to come with any of the colors that the iMacs
came in for wallpaper.

William
Oxford
2004-10-26 06:21:57 UTC
Permalink
This post might be inappropriate. Click to display it.
Jochen Lippert
2004-10-26 18:53:29 UTC
Permalink
Post by Oxford
that's a fun, refreshing question... the installer at least in OS9
certainly looks up what machine it is before the install begins. It used
to be called the gestalt id, but I think it's just machine model, or
model id now days... apple has always had 3 digits in the serial number
that contains the configuration and other "coded" data... the old world
rom'd machines had other stuff stored in rom to make that model
"unique", thus those crazy enablers from days long gone...
No, it really is a Gestalt thing. This bit of C-Code will find out the
case color:

myErr = Gestalt('yum ', &myResponse);

Note the "yum " as the Gestalt selector. :)

Jochen Lippert
--
No smilies were harmed in the making of this message ;)
Oxford
2004-10-26 20:08:24 UTC
Permalink
Post by Jochen Lippert
Post by Oxford
rom'd machines had other stuff stored in rom to make that model
"unique", thus those crazy enablers from days long gone...
No, it really is a Gestalt thing. This bit of C-Code will find out the
myErr = Gestalt('yum ', &myResponse);
Note the "yum " as the Gestalt selector. :)
Jochen Lippert
thanks jochen... i'm not a programmer... and didn't know if the gestalt
id made it through the transition of new world roms... i guess it did...
thanks for the response...

oxford

-

Loading...