]> 4ch.mooo.com Git - 16.git/blobdiff - src/scroll.c
FPU detection added
[16.git] / src / scroll.c
index 131b043518b09e7a447c433704c8ee603b606263..f14ec0cd2736bf1898678020e3a2d5a86890817f 100755 (executable)
@@ -22,7 +22,6 @@
 \r
 #include "src/lib/scroll16.h"\r
 #include "src/lib/16_timer.h"\r
-#include "src/lib/wcpu/wcpu.h"\r
 #include "src/lib/16_dbg.h"\r
 \r
 //#define FADE\r
@@ -39,7 +38,6 @@ pan_t pan;
 boolean panswitch=0;//1\r
 //extern boolean pageflipflop=1;\r
        unsigned int i;\r
-       const char *cpus;\r
        //static int persist_aniframe = 0;    /* gonna be increased to 1 before being used, so 0 is ok for default */\r
 \r
        //map_view_db_t pgid[4];\r
@@ -287,14 +285,7 @@ void main(int argc, char *argv[])
        printf("\nProject 16 scroll.exe. This is just a test file!\n");\r
        printf("version %s\n", VERSION);\r
        SCROLLEXITMESG;\r
-       switch(detectcpu())\r
-       {\r
-               case 0: cpus = "8086/8088 or 186/88"; break;\r
-               case 1: cpus = "286"; break;\r
-               case 2: cpus = "386 or newer"; break;\r
-               default: cpus = "internal error"; break;\r
-       }\r
-       printf("detected CPU type: %s\n", cpus);\r
+       WCPU_cpufpumesg();\r
 #ifdef MODEX\r
 #ifdef FADE\r
        modexFadeOn(4, dpal);\r