Welcome, Guest. Please login or register.

Author Topic: CPU detection  (Read 3475 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline srg86Topic starter

  • Full Member
  • ***
  • Join Date: Aug 2004
  • Posts: 211
    • Show all replies
    • http://www.aopp12.dsl.pipex.com
CPU detection
« on: April 13, 2005, 06:31:20 PM »
Hi

Is thare any standard algorithm for m68k cpu detection, as in detecting between 000, 010, 020, 030 etc etc. not forgetting the EC varients.


thanks
srg
 

Offline srg86Topic starter

  • Full Member
  • ***
  • Join Date: Aug 2004
  • Posts: 211
    • Show all replies
    • http://www.aopp12.dsl.pipex.com
Re: CPU detection
« Reply #1 on: April 13, 2005, 06:45:44 PM »
This is for use insode my own program, so I can see weather it's safe to procede (requires and MMU).

srg
 

Offline srg86Topic starter

  • Full Member
  • ***
  • Join Date: Aug 2004
  • Posts: 211
    • Show all replies
    • http://www.aopp12.dsl.pipex.com
Re: CPU detection
« Reply #2 on: April 15, 2005, 10:21:37 AM »
How do I use ExecBase AttnFlags, how do I access it, I tried declaring:

ExecBase e_base;

and AttnFlags was 0

then I tried:

ExecBase *e_base;

and AttnFlags was $FFFF.

srg
 

Offline srg86Topic starter

  • Full Member
  • ***
  • Join Date: Aug 2004
  • Posts: 211
    • Show all replies
    • http://www.aopp12.dsl.pipex.com
Re: CPU detection
« Reply #3 on: April 15, 2005, 02:18:21 PM »
Thanks that's great.

srg