Welcome, Guest. Please login or register.

Author Topic: How to detect 68060  (Read 2033 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
How to detect 68060
« on: October 28, 2005, 11:09:32 PM »
Hi,

What's the best (ie safest and most standard) way of detecting if you have a 68060 CPU from within your code?

SysBase->AttnFlags doesn't really seem to cater for it, do I have to check to see if a 68060.library is resident or do I have to go into supervisor mode and do a spot of peeking about?
int p; // A
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: How to detect 68060
« Reply #1 on: October 29, 2005, 01:33:02 AM »
@Piru

Cheers.

That's weird, I can't find them in my execbase.h - I think something may have installed over my ndk :-?
int p; // A
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: How to detect 68060
« Reply #2 on: October 29, 2005, 01:41:18 AM »
Nope, the NDK is from 3.5 (as found on DevCD 2.1), the release 44.1 includes/execbase.h doesn't define this bit. I guess it was added in an update or just the 3.9 one?

-edit-

not that it actually matters, I dare say I should update the OS 3.x NDK to the 3.9 one anyway ;-)
int p; // A