return;\r
}\r
\r
+ if (_DEBUG_INIT() == 0) {\r
+#ifdef DEBUGSERIAL\r
+ printf("WARNING: Failed to initialize DEBUG output\n");\r
+#endif\r
+ }\r
+ _DEBUG("Serial debug output started\n"); // NTS: All serial output must end messages with newline, or DOSBox-X will not emit text to log\r
+\r
//screen = modexDefaultPage();\r
engi_stat = ENGI_RUN;\r
- //textInit();\r
+ textInit();\r
\r
/* save the palette */\r
dpal = modexNewPal();\r
modexPalSave(dpal);\r
- modexFadeOff(4, dpal);\r
+// modexFadeOff(4, dpal);\r
//printf("pal load\n");\r
//gpal = modexNewPal();\r
/*modexPalSave(gpal);\r
modexSavePalFile("data/g.pal", gpal);*/\r
- printf("wwww loop wwww\n");\r
+//0000 printf("wwww loop wwww\n");\r
VGAmodeX(1, 1, &gvar);\r
- modexPalBlack(); //so player will not see loadings~\r
+// modexPalBlack(); //so player will not see loadings~\r
IN_Startup();\r
IN_Default(0,&player,ctrl_Joystick);\r
//modexprint(&screen, 32, 32, 1, 2, 0, "a", 1);\r
+ start_timer(&gvar);\r
while(ENGI_EXIT != engi_stat)\r
{\r
IN_ReadControl(0,&player);\r
if(IN_KeyDown(sc_Escape)) engi_stat = ENGI_EXIT;\r
+ shinku(&gvar);\r
}\r
switch(detectcpu())\r
{\r
printf("version %s\n", VERSION);\r
printf("detected CPU type: %s\n", cpus);\r
IN_Shutdown();\r
- modexFadeOn(4, dpal);\r
+// modexFadeOn(4, dpal);\r
}\r