8 extern unsigned char CharWidth;
\r
9 extern unsigned char CharHeight;
\r
11 void x_printf(WORD x, WORD y,WORD ScrnOffs,WORD color,char *ln,...){
\r
12 char dlin[100],*dl=dlin;
\r
17 vsprintf(dlin,ln,ap);
\r
21 x+=x_char_put(*dl++,x,y,ScrnOffs,color);
\r
26 void x_bgprintf(WORD x, WORD y,WORD ScrnOffs,WORD fgcolor,
\r
27 WORD bgcolor, char *ln,...){
\r
28 char dlin[100],*dl=dlin;
\r
33 vsprintf(dlin,ln,ap);
\r
37 x_rect_fill(x,y,x+x_get_char_width(*dl),y+CharHeight,ScrnOffs,bgcolor);
\r
38 x+=x_char_put(*dl++,x,y,ScrnOffs,fgcolor);
\r