]> 4ch.mooo.com Git - 16.git/commitdiff
pee of baka!
authorsparky4 <sparky4@cock.li>
Sun, 12 Jul 2015 20:49:37 +0000 (15:49 -0500)
committersparky4 <sparky4@cock.li>
Sun, 12 Jul 2015 20:49:37 +0000 (15:49 -0500)
modified:   16.exe
modified:   maptest.exe
modified:   palettec.exe
modified:   pcxtest.exe
modified:   src/lib/modex16.c
modified:   src/lib/modex16.h
modified:   test.exe
modified:   test2.exe

16.exe
maptest.exe
palettec.exe
pcxtest.exe
src/lib/modex16.c
src/lib/modex16.h
test.exe
test2.exe

diff --git a/16.exe b/16.exe
index d407dac141d591d9fa2508db9ccc8bcbbb848d09..a6418783694ebf30fd456a84201829e2abaa7199 100644 (file)
Binary files a/16.exe and b/16.exe differ
index ed045368a4287c97ed7f59fe3d316b18717c5432..cb42cfc7c45adc0cbac142f914e9e09a5f88f40e 100644 (file)
Binary files a/maptest.exe and b/maptest.exe differ
index 1df956b83cdee6e76c98fb1f20ed73164eb0ad0b..bdbd900d5719098f82fe678b6b79c723a4355ee0 100644 (file)
Binary files a/palettec.exe and b/palettec.exe differ
index c1ec6d87d53155220466f73d10b06ae4e1a9b68a..03194e160fa3320394a82b98c4a5cc66c8a9443c 100644 (file)
Binary files a/pcxtest.exe and b/pcxtest.exe differ
index 3bf65ee40fa12bc96c404d3b1b7cfb21bd26e38f..4717b444a39eaf1a9459d5a7a8ed317ede1102ef 100644 (file)
@@ -942,6 +942,23 @@ no... wait.... no wwww
                free(pal);
 }
 
+void bputs(/*bmp_t *bmp, */unsigned x, unsigned y, const char *s)\r
+{\r
+       byte far *font;\r
+       //bmp_t src;\r
+\r
+       //font = bios_8x8_font();\r
+       //src.wd = 8;\r
+       //src.ht = 8;\r
+       //src.ops = &g_ops1;\r
+       for(; *s != '\0'; s++)\r
+       {\r
+               //src.raster = font + 8 * (*s);\r
+               //blit1(&src, bmp, x, y);\r
+               x += 8;\r
+       }\r
+}
+
 void
 modexWaitBorder() {
     while(inp(INPUT_STATUS_1)  & 8)  {
index bb00795b681b9b179b8dba6745a7100882a86c2a..f21611746d38cc1ea14d0610a3cc56147e55a2ab 100644 (file)
@@ -92,11 +92,11 @@ void modexPalUpdate(bitmap_t *bmp, word *i, word qp, word aqoffset);
 void modexPalUpdate1(byte *p);
 void modexPalUpdate0(byte *p);
 void chkcolor(bitmap_t *bmp, word *q, word *a, word *aa, word *z, word *i/*, word *offset*/);
+void bputs(/*bmp_t *bmp, */unsigned x, unsigned y, const char *s);
 void modexWaitBorder();
 
 /* -======================= Constants & Vars ==========================- */
 extern byte far*  VGA;  /* The VGA Memory */
-//extern word text_mask[16];
 #define SCREEN_SEG             0xa000
 #define VIDEO_INT              0x10
 #define SET_MODE               0x00
index 754df6756f8235706a3eeb4cbca84afd6368ecad..a6e4adf59f76db07f44164782ed259dc921e74d2 100644 (file)
Binary files a/test.exe and b/test.exe differ
index 53173f24550509cf820107f951affde5cd65e707..c940126140fe8205a3774ed4b6355616c6d70eb0 100644 (file)
Binary files a/test2.exe and b/test2.exe differ