Lines Matching refs:bgcol
70 uint8_t bgcol:4; member
468 printf(" fg: %d bg: %d ch:'%2X' '%c'\n", t_attrib->fgcol, t_attrib->bgcol, ch, ch); in console_print_text_attributes()
479 unsigned int fgcol, bgcol; in vga_putcharxy() local
487 bgcol = color_table[t_attrib->bold][t_attrib->fgcol]; in vga_putcharxy()
488 fgcol = color_table[t_attrib->bold][t_attrib->bgcol]; in vga_putcharxy()
491 bgcol = color_table[t_attrib->bold][t_attrib->bgcol]; in vga_putcharxy()
499 xorcol = bgcol ^ fgcol; in vga_putcharxy()
508 ((uint32_t *)d)[0] = (dmask16[(font_data >> 4)] & xorcol) ^ bgcol; in vga_putcharxy()
509 ((uint32_t *)d)[1] = (dmask16[(font_data >> 0) & 0xf] & xorcol) ^ bgcol; in vga_putcharxy()
521 ((uint32_t *)d)[0] = (dmask4[(font_data >> 6)] & xorcol) ^ bgcol; in vga_putcharxy()
522 ((uint32_t *)d)[1] = (dmask4[(font_data >> 4) & 3] & xorcol) ^ bgcol; in vga_putcharxy()
523 ((uint32_t *)d)[2] = (dmask4[(font_data >> 2) & 3] & xorcol) ^ bgcol; in vga_putcharxy()
524 ((uint32_t *)d)[3] = (dmask4[(font_data >> 0) & 3] & xorcol) ^ bgcol; in vga_putcharxy()
534 ((uint32_t *)d)[0] = (-((font_data >> 7)) & xorcol) ^ bgcol; in vga_putcharxy()
535 ((uint32_t *)d)[1] = (-((font_data >> 6) & 1) & xorcol) ^ bgcol; in vga_putcharxy()
536 ((uint32_t *)d)[2] = (-((font_data >> 5) & 1) & xorcol) ^ bgcol; in vga_putcharxy()
537 ((uint32_t *)d)[3] = (-((font_data >> 4) & 1) & xorcol) ^ bgcol; in vga_putcharxy()
538 ((uint32_t *)d)[4] = (-((font_data >> 3) & 1) & xorcol) ^ bgcol; in vga_putcharxy()
539 ((uint32_t *)d)[5] = (-((font_data >> 2) & 1) & xorcol) ^ bgcol; in vga_putcharxy()
540 ((uint32_t *)d)[6] = (-((font_data >> 1) & 1) & xorcol) ^ bgcol; in vga_putcharxy()
541 ((uint32_t *)d)[7] = (-((font_data >> 0) & 1) & xorcol) ^ bgcol; in vga_putcharxy()
763 color_table[0][s->t_attrib_default.bgcol]); in console_put_lf()
842 s->t_attrib.bgcol=COLOR_BLACK; in console_handle_escape()
845 s->t_attrib.bgcol=COLOR_RED; in console_handle_escape()
848 s->t_attrib.bgcol=COLOR_GREEN; in console_handle_escape()
851 s->t_attrib.bgcol=COLOR_YELLOW; in console_handle_escape()
854 s->t_attrib.bgcol=COLOR_BLUE; in console_handle_escape()
857 s->t_attrib.bgcol=COLOR_MAGENTA; in console_handle_escape()
860 s->t_attrib.bgcol=COLOR_CYAN; in console_handle_escape()
863 s->t_attrib.bgcol=COLOR_WHITE; in console_handle_escape()
1263 (s->cells[src].t_attrib.bgcol << 8) | in text_console_update()
1536 s->t_attrib_default.bgcol = COLOR_BLACK; in text_console_do_init()
1545 s->t_attrib.bgcol = COLOR_BLUE; in text_console_do_init()