added CPUID code from rbench and get_cpl to be used by the
[dosdemo] / src / dos / main.c
index 566d47e..d820c7b 100644 (file)
@@ -10,6 +10,7 @@
 #include "audio.h"
 #include "sball.h"
 #include "vmath.h"
+#include "cpuid.h"
 
 static int handle_sball_event(sball_event *ev);
 static void recalc_sball_matrix(float *xform);
@@ -38,6 +39,10 @@ int main(int argc, char **argv)
        __djgpp_nearptr_enable();
 #endif
 
+       if(read_cpuid(&cpuid) == 0) {
+               print_cpuid(&cpuid);
+       }
+
        init_logger("demo.log");
 
        /* au_init needs to be called early, before init_timer, and also before