if FtrGet(sysFtrCreator, sysFtrNumProcessorID, Value) = 0 then
    case Value and sysFtrNumProcessorMask of
      sysFtrNumProcessor328:       Msg = 'Motorola 68328 (Dragonball)';
      sysFtrNumProcessorEZ:        Msg = 'Motorola 68EZ328 (DragonBall EZ)';
      sysFtrNumProcessorVZ:        Msg = 'Motorola 68VZ328 (Dragonball VZ)';
      sysFtrNumProcessorSuperVZ:   Msg = 'Motorola 68SZ328 (Dragonball SuperVZ)';
      sysFtrNumProcessorARM720T:   Msg = 'ARM 720T';
      sysFtrNumProcessorARM7TDMI:  Msg = 'ARM 7TDMI';
      sysFtrNumProcessorARM920T:   Msg = 'ARM 920T';
      sysFtrNumProcessorARM922T:   Msg = 'ARM 922T';
      sysFtrNumProcessorARM925:    Msg = 'ARM 925';
      sysFtrNumProcessorStrongARM: Msg = 'StrongARM';
      sysFtrNumProcessorXscale:    Msg = 'Xscale';
      sysFtrNumProcessorARM710A:   Msg = 'ARM 710A';
      sysFtrNumProcessorARM925T:   Msg = 'ARM 925T';
      sysFtrNumProcessorx86:       Msg = 'Intel CPU (Palm Simulator)';
    end;

Little note: this obviously isn't C, but can be converted to easily.
-- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to