]> 4ch.mooo.com Git - 16.git/blobdiff - src/exmmtest.c
exmmtest.exe \> exmmtest.l16 == BOOM
[16.git] / src / exmmtest.c
index 7e9ba334f0148644f052939c7086d18f2e68c621..67343f1ead146b3b8ae71202aaeb93c203729b44 100755 (executable)
 #endif\r
 \r
 ////////////////////////////////////////////////////////////////////////////\r
-#ifdef __BORLANDC__\r
+//#ifdef __BORLANDC__\r
 void VGAmodeX(sword vq, boolean cmem, global_game_variables_t *gv)\r
 {\r
        printf("VGAmodeX dummy:\n       %Fp     %Fp     %Fp\n", &vq, &cmem, gv);\r
 }\r
-#endif\r
+\r
+word modexPalOverscan(word col)\r
+{\r
+       //modexWaitBorder();\r
+       outp(PAL_WRITE_REG, 0);  /* start at the beginning of palette */\r
+       outp(PAL_DATA_REG, col);\r
+       return col;\r
+}\r
+void   TL_VidInit(global_game_variables_t *gvar)\r
+{\r
+       gvar->video.old_mode = 3;\r
+}\r
+//#endif\r
 \r
 //printf("*    %Fp\t", *BBUF);\r
 //printf("*         %04x\t", *BBUF);\r