-#include "src\lib\modex16.h"\r
+#include "16/modex16/modex16.h"\r
#include <stdio.h>\r
#include <stdlib.h>\r
-#include "src\lib\dos_kb.h"\r
-#include "src\lib\wtest\wtest.c"\r
+#include "16/modex16/dos_kb.h"\r
+//#include "src/lib/wtest/wtest.h"\r
\r
//word far *clock= (word far*) 0x046C; /* 18.2hz clock */\r
\r
void main() {\r
bitmap_t ptmp; // player sprite\r
word q=1;\r
- const char *cpus;\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
page_t screen, screen2, screen3;\r
map_t map;\r
/* draw the tiles */\r
ptr = map.data;\r
/*data\\*/\r
- ptmp = bitmapLoadPcx("ptmp.pcx"); // load sprite\r
+ ptmp = bitmapLoadPcx("data/chikyuu.pcx"); // load sprite\r
setkb(1);\r
modexEnter();\r
modexPalUpdate(ptmp.palette);\r
printf("temporary player sprite 0: http://www.pixiv.net/member_illust.php?mode=medium&illust_id=45556867\n");\r
printf("temporary player sprite 1: http://www.pixiv.net/member_illust.php?mode=medium&illust_id=44606385\n");\r
printf("\n");\r
+#if 0\r
+ //++++\r
switch(detectcpu())\r
{\r
case 0: cpus = "8086/8088 or 186/88"; break;\r
default: cpus = "internal error"; break;\r
}\r
printf("detected CPU type: %s\n", cpus);\r
+#endif\r
}\r
\r
\r
//modexClearRegion(top->page, 66, 66, 2, 40, 0);\r
//modexCopyPageRegion(dest->page, top->page, 66, 66, 66, 66, 2, 40);\r
//turn this off if XT\r
- if(detectcpu() > 0) modexWaitBorder();\r
+//++++ if(detectcpu() > 0) modexWaitBorder();\r
}\r