>   Does anyone have any idea on how to determine whether a device is
> running on a 68328, 68EZ328 or 68VZ328 processor?
> 
>   There is a Chip ID register for the 68328 and 68EZ328 CPUs, but it
> seems to be gone for the 68VZ328 and the emulator doesn't support it
> anyway.  :-(  There must be a way because the ROMs must do it somehow!

  you can use the feature manager to determine the CPU type. right now,
  there are no roms that support the VZ chip that have been distributed.
  the color devices still use the EZ processor.

---
  UInt32 result;

  // get the processor ID
  FtrGet(sysFtrCreator, sysFtrNumProcessorID, &result);
  switch (result & sysFtrNumProcessorMask)
  {
         // 68328 processor
    case sysFtrNumProcessor328:
         break;

         // 68ez328 processor
    case sysFrrNumProcessorEZ:
         break;

         // something else :P
    default:
         break;
  }
---

  hope this helps.. and i believe it does work under the emulator.
  :P from posts i have seen here.

  cheers.

az. 
--
Aaron Ardiri 
Java Certified Programmer      http://www.hig.se/~ardiri/
University-College i G�vle     mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN       
Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
Mob: +46 70 656 1143           A/H: +46 8 668 78 72

if you enjoy it, then it aint work :) - rule #106 of life


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to