X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=sys1%2Fkern%2Fsrc%2Fvga.h;h=14a91ff96f40bd9498eb5e691570d56a198f4cb7;hb=HEAD;hp=19571f34c225baa5e0e235aad6753fe870f95e3c;hpb=3e2e8a9156d288d230bbcd722bc91c4b3e4b21e1;p=3sys diff --git a/sys1/kern/src/vga.h b/sys1/kern/src/vga.h index 19571f3..14a91ff 100644 --- a/sys1/kern/src/vga.h +++ b/sys1/kern/src/vga.h @@ -11,9 +11,15 @@ enum { VGA_YELLOW, VGA_WHITE }; -#define VGA_BRIGHT 0x80 +#define VGA_BRIGHT 8 void vga_setcolor(int fg, int bg); void vga_setcursor(int x, int y); +void vga_scroll(int s); + +void vga_reset(void); + +void vga_clearline(int row); +void vga_drawchar(int x, int y, int c); #endif /* VGA_H_ */