\r
void main() {\r
bitmap_t bmp;\r
- bitmap_t bmp2;\r
- bitmap_t bmp3;\r
+ //bitmap_t bmp2;\r
+ //bitmap_t bmp3;\r
//bitmap_t bmp4;\r
// int index;\r
//int ch=0x0;\r
\r
//bmp = modexLoadPcx("ed.pcx");\r
- bmp = modexLoadPcx("w.pcx");\r
- bmp2 = modexLoadPcx("q.pcx");\r
- bmp3 = modexLoadPcx("chikyuu-.pcx");\r
+ //bmp = modexLoadPcx("w.pcx");\r
+ //bmp2 = modexLoadPcx("q.pcx");
+ printf("=\n");\r
+ bmp = modexLoadPcx("chikyuu.pcx");
+ printf("==\n");\r
/*bmp2 = modexLoadPcx("ed2.pcx");\r
bmp3 = modexLoadPcx("flower.pcx");\r
- bmp4 = modexLoadPcx("koishi^^.pcx");*/\r
+ bmp4 = modexLoadPcx("koishi^^.pcx");*/
+ printf("===\n");\r
modexEnter();\r
+ printf("====\n");
\r
- /* fix up the palette and everything */\r
- //modexPalUpdate(bmp3.palette);\r
+ /* fix up the palette and everything */
+ printf("=====\n");\r
+ modexPalUpdate(bmp.palette);\r
+ printf("======\n");
\r
- /* don't show the drawing page */\r
+ /* don't show the drawing page */
+// printf("=======\n");\r
modexShowPage(VGA + PAGE_SIZE);\r
+// printf("========\n");
\r
- /* clear and draw one sprite and one bitmap */\r
- modexClearRegion(VGA, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, 0);\r
+ /* clear and draw one sprite and one bitmap */
+// printf("=========\n");\r
+ modexClearRegion(VGA, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, 0);
+// printf("==========\n");\r
/*modexDrawBmp(VGA, 20, 20, &bmp2, 0);\r
modexDrawBmp(VGA, 180, 20, &bmp, 1);\r
modexDrawBmp(VGA, 180, 0, &bmp3, 1);\r
modexDrawBmp(VGA, 170, 100, &bmp4, 1);*/\r
- modexDrawBmp(VGA, 100, 40, &bmp, 0);\r
- modexDrawBmp(VGA, 100, 40, &bmp2, 1);\r
- modexDrawBmp(VGA, 0, 20, &bmp3, 0);\r
+ modexDrawBmp(VGA, 0, 0, &bmp, 1);\r
+ //modexDrawBmp(VGA, 100, 40, &bmp2, 1);\r
+ //modexDrawBmp(VGA, 0, 20, &bmp3, 0);\r
//modexDrawBmp(VGA, 120, 60, &bmp3, 1);\r
modexShowPage(VGA);\r
// for(index = 0; index<500; index++) {\r