11 void DrawHorzChar2(
int col,
int row, uint *ptr2,
int scale,
int color,
int odd)
16 for (j = 0; j < CHAR_HEIGHT2; j++)
18 for (l = 0; l < scale; l++)
22 for (i = 0; i < CHAR_WIDTH2; i++)
26 for (k = 0; k < scale; k++)
30 drawdot(col, row, color);
36 col -= CHAR_WIDTH2 * scale;
42 void DrawVertChar2(
int col,
int row, uint *ptr2,
int scale,
int color,
int odd)
47 for (j = 0; j < CHAR_HEIGHT2; j++)
49 for (l = 0; l < scale; l++)
53 for (i = 0; i < CHAR_WIDTH2; i++)
57 for (k = 0; k < scale; k++)
61 drawdot(col, row, color);
67 row += CHAR_WIDTH2 * scale;
73 void PutCharImage2(
int col,
int row,
int value,
int scale,
int vert,
int color)
75 uchar *ptr2 = (uchar *)0x8000 + ((value >> 1) * 128);
78 DrawHorzChar2(col, row, (uint *)ptr2, scale, color, value&1);
80 DrawVertChar2(col, row, (uint *)ptr2, scale, color, value&1);
83 void PutStringImage2(
int col,
int row,
char *str,
int scale,
int vert,
int color)
87 PutCharImage2(col, row, str[0], scale, vert, color);
90 col += CHAR_WIDTH2 * scale;
92 row -= CHAR_WIDTH2 * scale;