Searched refs:VGA_TEXT_COLS (Results 1 – 3 of 3) sorted by relevance
114 for (i = 0; i < VGA_TEXT_ROWS * VGA_TEXT_COLS; i++) { in vga_clear()126 VGA_SCREEN[row*VGA_TEXT_COLS + col] = (color << 8) | c; in vga_drawc()137 for (i = 0; i < (VGA_TEXT_ROWS-1)*VGA_TEXT_COLS; i++) { in vga_scroll()138 VGA_SCREEN[i] = VGA_SCREEN[i + VGA_TEXT_COLS]; in vga_scroll()140 for (; i < VGA_TEXT_ROWS * VGA_TEXT_COLS; i++) { in vga_scroll()150 off = row * VGA_TEXT_COLS + col; in vga_setpos()161 *row = off / VGA_TEXT_COLS; in vga_getpos()162 *col = off % VGA_TEXT_COLS; in vga_getpos()
43 #define VGA_TEXT_COLS 80 macro
117 if (col == VGA_TEXT_COLS) in screen_putchar()140 if (col < VGA_TEXT_COLS -1) in screen_putchar()