X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=src%2Fdos%2Fmain.c;h=d820c7bdc2f0f61841849f71b8463eafe5614e64;hp=566d47e9f8939e50e61fbdced4f0e22adab15c3c;hb=fb3df30d97e3824335a6c17fd8d49b9706b6b3c7;hpb=32e06b252cd46593476310508d7d8316ed103a24 diff --git a/src/dos/main.c b/src/dos/main.c index 566d47e..d820c7b 100644 --- a/src/dos/main.c +++ b/src/dos/main.c @@ -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