Home
last modified time | relevance | path

Searched refs:VGA_TEXT_COLS (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/uts/i86pc/boot/
H A Dboot_vga.c114 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()
H A Dboot_vga.h43 #define VGA_TEXT_COLS 80 macro
H A Dboot_console.c117 if (col == VGA_TEXT_COLS) in screen_putchar()
140 if (col < VGA_TEXT_COLS -1) in screen_putchar()