Thread: SysInfo 4.0
View Single Post
Old 11 June 2015, 00:25   #80
matthey
Banned
 
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
Quote:
Originally Posted by Geijer View Post
Sorry for the late answer, will add an option to disable FPU tests.
How about "FPU=No" in the icon tooltypes to disable? There could also be FPU=68881, FPU=68882, FPU=68040 and FPU=68060 to override any auto detection. The same goes for CPU and MMU. This would be very similar to AIBB tooltypes by the way.

Quote:
Originally Posted by Geijer View Post
If you have time, I would be glad if you can help me test out other FPU detection methods?
Code:
UWORD cpu_flags = SysBase->AttnFlags;

if (cpu_flags & AFF_68881)
   fpu881 = TRUE;
if (cpu_flags & AFF_FPU40)
   fpu040 = TRUE;
Be careful with being too tricky with the hardware trying to detect the CPU/MMU/FPU. Many programs fail later which try.
matthey is offline  
 
Page generated in 0.07645 seconds with 9 queries