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) {
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