pcxtest.exe: pcxtest.$(OBJ) gfx.lib
wcl $(FLAGS) pcxtest.$(OBJ) gfx.lib -fm=pcxtest.mah
-vrstest.exe: vrstest.$(OBJ) gfx.lib
- wcl $(FLAGS) vrstest.$(OBJ) gfx.lib -fm=vrstest.mah
+vrstest.exe: vrstest.$(OBJ) gfx.lib $(16LIB)
+ wcl $(FLAGS) vrstest.$(OBJ) gfx.lib $(16LIB) -fm=vrstest.mah
palettec.exe: palettec.$(OBJ) gfx.lib #$(16LIB)
wcl $(FLAGS) palettec.$(OBJ) gfx.lib -fm=palettec.mah #$(16LIB)
handle_t handle; //handles for file logging\r
kurokku_t kurokku; //clock struct\r
mminfo_t mm; mminfotype mmi;\r
- void *bigbuffer;\r
} global_game_variables_t;\r
\r
#endif /* _TYPEDEFSTRUCT_H_ */\r
global_game_variables_t gvar;\r
\r
void main() {\r
+ __segment sega;\r
+ void __based(sega)* bigbuffer;\r
int i;\r
word start;\r
int plane;\r
// the CPU to carry out tasks. --J.C.\r
cpu_probe();\r
\r
+ gvar.mm.mmstarted=0;\r
+\r
+ MM_Startup(&gvar.mm, &gvar.mmi);\r
+ CA_Startup(&gvar);\r
+\r
// DOSLIB: check for VGA\r
if (!probe_vga()) {\r
printf("VGA probe failed\n");\r
{\r
//DrawPBuf(&gvar.video.page[0], 0, 0, p, 0);\r
}\r
+ MM_FreePtr(&bigbuffer, &gvar.mm);\r
+ CA_Shutdown(&gvar);\r
+ MM_Shutdown(&gvar.mm);\r
VGAmodeX(0, 1, &gvar);\r
/*printf("\nmain=%Fp\n\n", &i);\r
printf("bmp.data=%Fp\n", bmp.data);\r