openfiles: /dos/z/16/src/emmtest.c:732:0:0:
openfiles: /dos/z/16/src/emsdump.c:456:0:0:
openfiles: /dos/z/16/src/maptest.c:463:0:0:
-openfiles: /dos/z/16/src/maptest0.c:506:19:0:
+openfiles: /dos/z/16/src/maptest0.c:366:19:0:
openfiles: /dos/z/16/src/test.c:0:0:0:
openfiles: /dos/z/16/src/test2.c:0:0:0:
openfiles: /dos/z/16/src/lib/planar.h:602:0:0:
openfiles: /dos/z/16/src/lib/PLANAR.C:0:0:0:
openfiles: /dos/z/16/src/lib/bitmap.c:294:0:0:
openfiles: /dos/z/16/src/lib/bitmap.h:257:0:0:
-openfiles: /dos/z/16/src/lib/modex16.c:23968:23029:1:
+openfiles: /dos/z/16/src/lib/modex16.c:23351:22964:1:
openfiles: /dos/z/16/src/lib/modex16.h:2566:1791:0:
openfiles: /dos/z/16/src/lib/dos_kb.c:3264:2598:0:
openfiles: /dos/z/16/src/lib/dos_kb.h:0:0:0:
byte far* VGA=(byte far*) 0xA0000000; /* this points to video memory. */
+word text_mask[16] = {
+ 0x0002, 0x0102, 0x0202, 0x0302,\r
+ 0x0402, 0x0502, 0x0602, 0x0702,\r
+ 0x0802, 0x0902, 0x0A02, 0x0B02,\r
+ 0x0C02, 0x0D02, 0x0E02, 0x0F02
+};
static void fadePalette(sbyte fade, sbyte start, word iter, byte *palette);
static byte tmppal[PAL_SIZE];
/*****************************************************************************\r
*****************************************************************************/\r
void bputs(page_t *pee, int x, int y, const char *s)\r
-{\r
+{
+ //int i, skip;\r
byte far *font;
- byte far *fontoffset;
+ byte far *font_pntr;
+ //byte c, temp;
\r
font = bios_8x8_font();
+ //skip = 2 - ((pee->width/4) << 3);
//printf("font=%Fp\n", font);\r
for(; *s != '\0'; s++)\r
{\r
//src.raster = font + 8 * (*s);
//BLOODY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!111111111111!!!11!!11!111!11!!1111!!111!11!!1!!!11!11!!1!!111!11!!
// (*(bmp->data)) = (*(font + 8 * (*s)));
+ font_pntr = (*(font + 8 * (*s)));
+// font_pntr = font + (c << 3);
+// i=8;\r
+// while (i--) {\r
+// temp = *font_pntr++;\r
+// outpw(SC_INDEX, text_mask[temp & 0x0F]);\r
+ //*vga_ptr++ = color;\r
+\r
+// outpw(SC_INDEX, text_mask[temp >> 4]);\r
+ //*vga_ptr-- = color;\r
+ //vga_ptr += widthBytes;\r
+// }
//printf("fontoffset=%Fp\n", font + 8 * (*s));
//printf("*fontoffset=%s\n", *(font + 8 * (*s)));
// printf("%x\n", (*(font + 8 * (*s))));
//_fmemset(VGA, *(font + 8 * (*s)), _msize(font));
//draw text?!?! wwww
+
modexClearRegion(pee, x, y, 8, 8, 4);
- x += 8;\r
+// x += 8;\r
}
// printf("\n");\r
}