12 //bmp = modexLoadPcx("ed.pcx");
\r
13 // bmp = modexLoadPcx("koishi^^.pcx");
\r
14 bmp = modexLoadPcx("chikyuu.pcx");
\r
15 bmp3 = modexLoadPcx("flower.pcx");
\r
16 /*bmp2 = modexLoadPcx("ed2.pcx");
\r
17 bmp3 = modexLoadPcx("flower.pcx");
\r
18 bmp4 = modexLoadPcx("koishi^^.pcx");*/
\r
21 /* fix up the palette and everything */
\r
22 modexPalUpdate(bmp3.palette);
\r
24 /* don't show the drawing page */
\r
25 modexShowPage(VGA + PAGE_SIZE);
\r
27 /* clear and draw one sprite and one bitmap */
\r
28 modexClearRegion(VGA, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, 0);
\r
29 /*modexDrawBmp(VGA, 20, 20, &bmp2, 0);
\r
30 modexDrawBmp(VGA, 180, 20, &bmp, 1);
\r
31 modexDrawBmp(VGA, 180, 0, &bmp3, 1);
\r
32 modexDrawBmp(VGA, 170, 100, &bmp4, 1);*/
\r
33 modexDrawBmp(VGA, 0, 0, &bmp, 1);
34 modexDrawBmp(VGA, 100, 20, &bmp3, 1);
\r
36 // for(index = 0; index<500; index++) {
\r
37 //while(1/*!kbhit()*/){ // conditions of screen saver
\r
38 while (!kbhit()){ /* Wait for a keystroke */
\r
41 //if(ch==0x71)break; // 'q'
\r
42 //if(ch==0x1b)break; // 'ESC'
\r
44 (void) getch(); /* Clear the keyboard buffer */
\r