Welcome, Guest. Please login or register.

Author Topic: How to detect CPU?  (Read 1539 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline ejstansTopic starter

  • Newbie
  • *
  • Join Date: Jun 2009
  • Posts: 48
How to detect CPU?
« on: July 23, 2009, 10:19:39 PM »
Hello,  Is there a way to detect which CPU (68000 - 68060) is running one's code? The old "How to code" document suggests looking at AttnFlags in Exec, but V3.0 does not support 68060. Does later versions of the OS include it? How does the OS ascertain the CPU model anyway? Is there a way to determine the clock frequency (other than using a timer and calculating)?  Thanks!
"It is preferable not to travel with a dead machine."

A500 1.3 / 512KiB slowmem / GVP HD8 w/ 8MiB fastmem & 52MB HDD
A600 2.05 / 1GB SSD
A1200 3.0 / Blizzard 1200/4 w/ 68882 @ 33MHz / 1GB SSD
A1200T 3.0 / Apollo 1260 w/ 68EC060 @ 50MHz & 16 MiB fastmem / 4GB SSD