]> Shamusworld >> Repos - rmac/blobdiff - sect.h
FPU instructions debugged and stricter checks enforced
[rmac] / sect.h
diff --git a/sect.h b/sect.h
index bae68ebecaaf1ef4ce986c39bf9282f5a18316a2..3f6f28edfc55f1d7348935927fe8df2debeb0fae 100644 (file)
--- a/sect.h
+++ b/sect.h
@@ -139,6 +139,7 @@ SECT {
 #define FPU_68881 1
 #define FPU_68882 2
 #define FPU_68040 4
+#define FPU_68060 8
 
 // Helper macros to test for active CPU
 #define CHECK00 if (activecpu == CPU_68000) return error(unsupport)
@@ -151,7 +152,7 @@ SECT {
 #define CHECKNO30 if (activecpu != CPU_68030) return error(unsupport)
 #define CHECKNO40 if (activecpu != CPU_68040) return error(unsupport)
 #define CHECKNO60 if (activecpu != CPU_68060) return error(unsupport)
-
+#define CHECKNOFPU if (!activefpu) return error(unsupport)
 
 // Globals, external etc
 extern uint32_t sloc;