Welcome, Guest. Please login or register.

Author Topic: Weird 060...  (Read 3941 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Weird 060...
« on: December 05, 2007, 04:04:03 PM »
Indeed you should run cpu060. That'll tell you if it has FPU or not, for sure.

ShowConfig checks AFB_68881 flag for FPU... And this flag is only set when 6888x FPU emulation routines have been loaded (the flag is set by 68060.library).

Code: [Select]
/*
 * The AFB_FPU40 bit is set when a working 68040 FPU
 * is in the system.  If this bit is set and both the
 * AFB_68881 and AFB_68882 bits are not set, then the 68040
 * math emulation code has not been loaded and only 68040
 * FPU instructions are available.  This bit is valid *ONLY*
 * if the AFB_68040 bit is set.
 */

The same applies to 68060.

So non-functional 680x0.library will result in ShowConfig not reporting the FPU, even if it does exist.