Macintosh Gestalt IDs

Anything about Mac emulation that does not belong in the above categories.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Macintosh Gestalt IDs

Post by adespoton »

I have no idea where I compiled this list from, but it looks similar to what's available at http://www.everymac.com/systems/by_capability/ .

It's possible I originally got these from Apple documentation. If anyone can add an attribution, please do; I know this wasn't written by me as it's not my writing style:
Here is a list of the gestaltMachineType response values. You can use Apple System Profiler to obtain the Machine ID. It is listed in the System Profile tab in the Hardware overview section.

gestaltClassic           =  1;     { Macintosh }
gestaltMacXL             =  2;     { Macintosh XL }
gestaltMac512ke          =  3;     { Macintosh 512Ke }
gestaltMacPlus           =  4;     { Macintosh Plus }
gestaltMacSE             =  5;     { Macintosh SE }
gestaltMacII             =  6;     { Macintosh II }
gestaltMacIIx            =  7;     { Macintosh IIx }
gestaltMacIIcx           =  8;     { Macintosh IIcx }
gestaltMacSE30           =  9;     { Macintosh SE/30 }
gestaltMacPortable       = 10;     { Macintosh Portable }
gestaltMacIIci           = 11;     { Macintosh IIci }
gestaltMacIIfx           = 13;     { Macintosh IIfx }
gestaltMacClassic        = 17;     { Macintosh Classic }
gestaltMacIIsi           = 18;     { Macintosh IIsi }
gestaltMacLC             = 19;     { Macintosh LC }
gestaltQuadra900         = 20;     { Macintosh Quadra 900 }
gestaltPowerBook170      = 21;     { Macintosh PowerBook 170 }
gestaltQuadra700         = 22;     { Macintosh Quadra 700 }
gestaltClassicII         = 23;     { Macintosh Classic II }
gestaltPowerBook100      = 24;     { Macintosh PowerBook 100 }
gestaltPowerBook140      = 25;     { Macintosh PowerBook 140 }
gestaltQuadra950         = 26;     { Macintosh Quadra 950}
gestaltMacLCIII          = 27;     { Macintosh LC III }
gestaltPowerBookDuo210   = 29;     { Macintosh PowerBook Duo 210 }
gestaltMacCentris650     = 30;     { Macintosh Centris 650 }
gestaltPowerBookDuo230   = 32;     { Macintosh PowerBook Duo 230 }
gestaltPowerBook180      = 33;     { Macintosh PowerBook 180 }
gestaltPowerBook160      = 34;     { Macintosh PowerBook 160 }
gestaltMacQuadra800      = 35;     { Macintosh Quadra 800 }
gestaltMacQuadra650      = 36;     { Macintosh Quadra 650 }
gestaltMacLCII           = 37;     { Macintosh LC II }
gestaltPowerBookDuo250   = 38;     { Macintosh PowerBook Duo 250 }
gestaltAWS9150_80        = 39;     { Workgroup Server 9150 }
gestaltPowerMac8100_110  = 40;     { Power Macintosh 8100/110 }
gestaltPowerMac5200_75   = 41;     { Power Macintosh 5200/75 }
gestaltPowerMac6200_75   = 42;     { Power Macintosh 6200/75 }
gestaltMacIIvi           = 44;     { Macintosh IIvi }
gestaltPerforma600       = 45;     { Macintosh Performa 600 }
gestaltPowerMac7100_80   = 47;     { Power Macintosh 7100/80 }
gestaltMacIIvx           = 48;     { Macintosh IIvx }
gestaltMacColorClassic   = 49;     { Macintosh Color Classic }
gestaltPowerBook165c     = 50;     { Macintosh PowerBook 165c }
gestaltMacCentris610     = 52;     { Macintosh Centris 610 }
gestaltMacQuadra610      = 53;     { Macintosh Quadra 610 }
gestaltPowerBook145      = 54;     { Macintosh PowerBook 145 & 145b}
gestaltPowerMac8100_100  = 55;     { Power Macintosh 8100/100 }
gestaltMacLC520          = 56;     { Macintosh LC 520 }
gestaltAWS9150_120       = 57;     { Workgroup Server 9150/120 }
gestaltPerforma6400      = 58;     { Macintosh Performa 6400/180, 6400/200 }
gestaltPerforma6360      = 58;     { Macintosh Performa 6360/160 }
gestaltMacCentris660AV   = 60;     { Macintosh Centris 660AV }
gestaltPerforma460       = 62;     { Macintosh Performa 460 }
gestaltPowerMac8100_80   = 65;     { Power Macintosh 8100/80 }
gestaltPowerMac9500_120  = 67;     { Power Macintosh 9500/120 }
gestaltPowerMac9600      = 67;     { Power Macintosh 9600 }
gestaltPowerMac7500_120  = 68;     { Power Macintosh 7200/120 }
gestaltPowerMac8500_120  = 68;     { Power Macintosh 8500/120 }
gestaltPowerMac8600      = 69;     { Power Macintosh 8600 }
gestaltPowerBook180c     = 71;     { Macintosh PowerBook 180c }
gestaltPowerBook500      = 72;     { Macintosh PowerBook 500 series }
gestaltPowerMac5400      = 74;     { Power Macintosh 5400 }
gestaltPowerMac6100_60   = 75;     { Power Macintosh 6100/60 }
gestaltPowerBookDuo270c  = 77;     { Macintosh PowerBook Duo 270c }
gestaltMacQuadra840AV    = 78;     { Macintosh Quadra 840AV }
gestaltMacLC550          = 80;     { Macintosh LC 550 }
gestaltPowerBook165      = 84;     { Macintosh PowerBook 165 }
gestaltMacTV             = 88;     { Macintosh TV }
gestaltMacLC475          = 89;     { Macintosh LC 475 }
gestaltMacLC575          = 92;     { Macintosh LC 575 }
gestaltMacQuadra605      = 94;     { Macintosh Quadra 605 }
gestaltMac630            = 98;     { Macintosh 630 series }
gestaltMacLC580          = 99;     { Macintosh LC 580 }
gestaltPowerMac6100_66   =100;     { Power Macintosh 6100/66 }
gestaltPowerBookDuo280   =102;     { Macintosh PowerBook Duo 280 }
gestaltPowerBookDuo280c  =103;     { Macintosh PowerBook Duo 280c }
gestaltPowerMac7200_90   =108;     { Power Macintosh 7200/90 }
gestaltPowerMac7300      =109;     { Power Macintosh 7300 }
gestaltPowerMac7100_66   =112;     { Power Macintosh 7100/66 }
gestaltPowerBook150      =115:     { Macintosh PowerBook 150 }
gestaltPowerBookDuo2300  =118;     { Macintosh PowerBook Duo 2300 }
gestaltPowerBook190      =122;     { Macintosh PowerBook 190 }
gestaltPowerBook5300     =128;     { Macintosh PowerBook 5300 }
gestaltPowerBook1400     =310;     { Macintosh PowerBook 1400 }
gestaltPowerMacG3        =510;     { Power Macintosh G3 }


Macintosh Processor Upgrade

The follow gestalt identifiers are used by the Macintosh Processor Upgrade, when installed in an eligible 68LC040-based system. When the card is active, the following gestalt identifiers are used:

gestaltPowerMac475       =104;     { Power Macintosh 475/605 }
gestaltPowerMac575       =105;     { Power Macintosh 575 }
gestaltPowerMac630       =106;     { Power Macintosh 630 }
gestaltPowerMac580       =107;     { Power Macintosh 580 }


Power Macintosh Upgrade Card

The following gestalt identifiers are used by the Power Macintosh upgrade card, when installed into an eligible 040-based system. When the card is active, the following gestalt identifiers are used:

gestaltPowerMac700       =116;     { Power Macintosh 700 }
gestaltPowerMac900       =117;     { Power Macintosh 900 }
gestaltPowerMac950       =118;     { Power Macintosh 950 }
gestaltPowerMacC610      =119;     { Power Macintosh C610 }
gestaltPowerMacC650      =120;     { Power Macintosh C650 }
gestaltPowerMacQ610      =121;     { Power Macintosh Q610 }
gestaltPowerMacQ650      =122;     { Power Macintosh Q650 }
gestaltPowerMac800       =123;     { Power Macintosh 800 }


Power Macintosh G3

All Power Macintosh G3 computers have a machine ID value of 510 (hexadecimal 1FE). The ROM subversion can help differentiate logic boards. Details can be found in the developer note.

New World ROM computers
Computers based on the New World ROM architecture, such as the Power Macintosh G3 (Blue and White), iMac, PowerBook G3 Series (Bronze keyboard), and later, all have a machine ID of 406.

Gestalt

This Note now documents _Gestalt selectors and return values added since the release of Inside Macintosh Volume VI. Please note that this is supplemental information; for the complete description of _Gestalt and its use, please refer to Inside Macintosh Volume VI.

The Macintosh LC II is identical to the Macintosh LC except for the presence of an MC68030 processor, so under System 7.0.1 it returns the same gestaltMachineType response as the Macintosh LC (that is, 19). However, under System 7.1 and later, the LC II responds to a gestaltMachineType selector with the value 37. Thus, there are two cases when you are on an LC II: under System 7.0.1, you will get a gestaltMachineType response of gestaltMacLC (19), but gestaltProcessorType will return gestalt68030; under future system software,gestaltMachineType will return gestaltMacLCII (37). The processor will, of course, still be a 68030.

There is a similar difficulty with the PowerBook 145. This is essentially a PowerBook 140 with a 25-MHz 68030 processor. Under System 7.0.1, it returns the gestaltMachineType response of gestaltPowerBook140 (25); under System 7.1 and all later system software versions, the value returned is gestaltPowerBook145 (54).

Performa computers have the same gestaltMachineType resources as their Macintosh counterparts.

Developers are reminded that the gestaltMachineType selector is for informational purposes only and should not be used as a basis for programmatic decisions. As always, developers are encouraged to test for the specific features they need and not to rely on any particular machine having a particular set of features.

Notes

The Macintosh PowerBook 100 Developer Notes and the Macintosh PowerBook 140/170 Developer Notes incorrectly document gestaltMachineType response values for the Macintosh PowerBook computers. The above values are, and have always been, the correct values.
User avatar
sentient06
Mac Mechanic
Posts: 188
Joined: Tue Mar 29, 2011 8:57 pm
Location: London, UK

Re: Macintosh Gestalt IDs

Post by sentient06 »

Post Reply