Machine Type List

Date:    Fri, 15 Dec 1995 12:14:23 -0500
From:    Colin Holgate <holgate@VOYAGERCO.COM>
Subject: Re: Machine code list
This doesn't seem to include the PowerBook 5300, but as of July the machine list was like this:

Macintosh Computers: Gestalt ID Codes (7/95)

Article Created: 5 November 1991
Article Reviewed/Updated: 11 July 1995

Here is a list of the gestaltMachineType response values:

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 }
gestaltMacCentris660AV   = 60;     { Macintosh Centris 660AV }
gestaltPerforma460       = 62;     { Macintosh Performa 460 }
gestaltPowerMac8100_80   = 65;     { Power Macintosh 8100/80 }
gestaltPowerMac9500_120  = 67;     { Power Macintosh 9500/120 }
gestaltPowerBook180c     = 71;     { Macintosh PowerBook 180c }
gestaltPowerBook500      = 72;     { Macintosh PowerBook 500 series }
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 }
gestaltPowerMac7100_66   =112;     { Power Macintosh 7100/66 }
gestaltPowerBook150      =115:     { Macintosh PowerBook 150 }

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 }

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.

Note: The Macintosh PowerBook 100 Developer Notes and the Macintosh PowerBook 140/170 Developer Notes, available from APDA and on the Developer CD Series disc and AppleLink, incorrectly document gestaltMachineType response values for the Macintosh PowerBook computers. The above values are, and have always been, the correct values.

Article Change History:

11 Jul 1995 - New models added.
10 Jan 1995 - New models added.
23 Sep 1994 - Updated yet again with more models.

Support Information Services
Copyright 1991-95, Apple Computer, Inc.