Amiga.org

Amiga News and Community Announcements => Amiga News and Community Announcements => Amiga Programming and Development => Topic started by: ejstans on July 23, 2009, 10:19:39 PM

Title: How to detect CPU?
Post by: ejstans 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!