The Unofficial Newsletter of Delphi Users - by Robert Vivrette



Authentic or Genuine?

by Grahame Marsh - grahame.s.marsh@corp.courtaulds.co.uk

I recently upgraded my motherboard to a 233Mhz AMD processor.  I knew that you could provoke an Intel chip into returning the text ôGenuineIntelö in a series of registers so I was curious to know what the AMD chip would return.  The answer proved to be the text ôAuthenticAMDö:

This bitmap was clipped from a simple form which just has two labels that are initialised in the FormCreate event handler:

All you need to do to test this out is add the two lines above to your FormCreate, and add the CPUInfo unit to your Uses clause.

The VendorId and CpuType values are obtained using the CpuInfo unit listed below. Portions of this are based off of Intels published information on obtaining CPU ID's:

Enjoy!