]> 4ch.mooo.com Git - 16.git/commitdiff
new file: 16/modex16/ED.JPG
authorsparky4 <sparky4@4ch.maidlab.jp>
Tue, 8 Jul 2014 20:40:09 +0000 (15:40 -0500)
committersparky4 <sparky4@4ch.maidlab.jp>
Tue, 8 Jul 2014 20:40:09 +0000 (15:40 -0500)
new file:   16/modex16/EDw.PCX
new file:   16/modex16/KOISHI^^.PNG
modified:   16/modex16/MODEX16.OBJ
modified:   16/modex16/PCXTEST.C
modified:   16/modex16/PCXTEST.EXE
modified:   16/modex16/PCXTEST.OBJ
modified:   16/modex16/TEST.OBJ
modified:   16/modex16/koishi^^.pcx

16/modex16/ED.JPG [new file with mode: 0644]
16/modex16/EDw.PCX [new file with mode: 0644]
16/modex16/KOISHI^^.PNG [new file with mode: 0644]
16/modex16/MODEX16.OBJ
16/modex16/PCXTEST.C
16/modex16/PCXTEST.EXE
16/modex16/PCXTEST.OBJ
16/modex16/TEST.OBJ
16/modex16/koishi^^.pcx

diff --git a/16/modex16/ED.JPG b/16/modex16/ED.JPG
new file mode 100644 (file)
index 0000000..e8d95cc
Binary files /dev/null and b/16/modex16/ED.JPG differ
diff --git a/16/modex16/EDw.PCX b/16/modex16/EDw.PCX
new file mode 100644 (file)
index 0000000..2427b5d
Binary files /dev/null and b/16/modex16/EDw.PCX differ
diff --git a/16/modex16/KOISHI^^.PNG b/16/modex16/KOISHI^^.PNG
new file mode 100644 (file)
index 0000000..d05e871
Binary files /dev/null and b/16/modex16/KOISHI^^.PNG differ
index a8b6c13fb8dfb9f5c6318e3b39942ef4b52c748d..2088a282c72dedcf9dafe8920360cfa54a8677fd 100644 (file)
Binary files a/16/modex16/MODEX16.OBJ and b/16/modex16/MODEX16.OBJ differ
index 364aa046ea8252507b08f5504078fcfc25b5170f..683ccf8ea4ba73b1b8f843c1cd9bd44a4353865b 100644 (file)
@@ -2,20 +2,21 @@
 #include "modex16.h"\r
 \r
 void main() {\r
-    bitmap_t bmp;
-       bitmap_t bmp2;
-       bitmap_t bmp3;\r
+    bitmap_t bmp;\r
+       bitmap_t bmp2;\r
+       bitmap_t bmp3;
+       bitmap_t bmp4;\r
     int index;\r
        int ch=0x0;\r
 \r
-    bmp = modexLoadPcx("ed.pcx");
-    bmp2 = modexLoadPcx("ed2.pcx");
-    bmp3 = modexLoadPcx("koishi^^.pcx");\r
+    //bmp = modexLoadPcx("ed.pcx");\r
+    //bmp2 = modexLoadPcx("ed2.pcx");\r
+    bmp4 = modexLoadPcx("koishi^^.pcx");\r
     modexEnter();\r
 \r
     /* fix up the palette and everything */\r
-    //modexPalUpdate(bmp.palette);
-    modexPalUpdate(bmp2.palette);\r
+    //modexPalUpdate(bmp2.palette);\r
+    modexPalUpdate(bmp4.palette);\r
 \r
     /* don't show the drawing page */\r
     modexShowPage(VGA + PAGE_SIZE);\r
@@ -24,15 +25,19 @@ void main() {
     modexClearRegion(VGA, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, 0);\r
        modexDrawBmp(VGA, 20, 20, &bmp2, 0);\r
     modexDrawBmp(VGA, 180, 20, &bmp, 1);
-    modexDrawBmp(VGA, 170, 100, &bmp3, 0);\r
+    modexDrawBmp(VGA, 0, 0, &bmp3, 1);\r
+    //modexDrawBmp(VGA, 170, 100, &bmp3, 0);\r
+       modexDrawBmp(VGA, 100, 100, &bmp4, 1);\r
+    //modexDrawBmp(VGA, 0, 0, &bmp, 2);\r
     modexShowPage(VGA);\r
 //    for(index = 0; index<500; index++) {\r
-       while(!kbhit()){ // conditions of screen saver\r
+       while(1/*!kbhit()*/){ // conditions of screen saver\r
                modexWaitBorder();\r
                                ch=getch();\r
                                if(ch==0x71)break; // 'q'\r
                                if(ch==0x1b)break; // 'ESC'\r
            }
+           free();\r
     modexLeave();\r
 \r
     return;\r
index 8fa4aa0aa6bdd87b88722cfd6fe58b4ca1039819..59be48b28d0a9b91dd6b601d9b7a639ac5fa97b2 100644 (file)
Binary files a/16/modex16/PCXTEST.EXE and b/16/modex16/PCXTEST.EXE differ
index 2f421a2aac217aead04c9971ed469b3cfb0a5def..0f23263e900703b805211e803a5e08d2b5aaf07f 100644 (file)
Binary files a/16/modex16/PCXTEST.OBJ and b/16/modex16/PCXTEST.OBJ differ
index 788b5c6ebd0d99145df7b18dd783fce7302eafc7..b123261f25976012d04e6fa7a4c7b2c8c3d2cfcb 100644 (file)
Binary files a/16/modex16/TEST.OBJ and b/16/modex16/TEST.OBJ differ
index a43dd15ffe78e2ae2785d345a883f4b8f7d17fe3..0dbbc0da38a2d790195b3e8321370ef6c9217f91 100644 (file)
Binary files a/16/modex16/koishi^^.pcx and b/16/modex16/koishi^^.pcx differ