]> 4ch.mooo.com Git - 16.git/blobdiff - src/exmmtest.c
p16 is being worked on a bunch by me wwww [16_ca needs huge amounts of work and I...
[16.git] / src / exmmtest.c
index 7e9ba334f0148644f052939c7086d18f2e68c621..1a4cbe6839edbf0d1be9f232d0dc8e16ee151e2f 100755 (executable)
 #endif\r
 \r
 ////////////////////////////////////////////////////////////////////////////\r
-#ifdef __BORLANDC__\r
+//#ifdef __BORLANDC__\r
+void VL_Startup (global_game_variables_t *gvar){}\r
+void VL_Shutdown (global_game_variables_t *gvar){}\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