/* * gfx_text256 — строка шрифтом 8×8 от (x,y), mode 0x81; x растёт * на 8 на символ. */ #include "_gfx.h" void gfx_text256(int x, int y, const char *s, uint8_t fg, uint8_t bg) { for (; *s; s++) { if (x >= GFX_WIDTH) break; gfx_putchar256(x, y, *s, fg, bg); x += 8; } }