X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=sys1%2Fkern%2Fsrc%2Fvga.h;fp=sys1%2Fkern%2Fsrc%2Fvga.h;h=19571f34c225baa5e0e235aad6753fe870f95e3c;hb=3e2e8a9156d288d230bbcd722bc91c4b3e4b21e1;hp=0000000000000000000000000000000000000000;hpb=570cc7602962c08b173754d25af50c43b75c2f2f;p=3sys diff --git a/sys1/kern/src/vga.h b/sys1/kern/src/vga.h new file mode 100644 index 0000000..19571f3 --- /dev/null +++ b/sys1/kern/src/vga.h @@ -0,0 +1,19 @@ +#ifndef VGA_H_ +#define VGA_H_ + +enum { + VGA_BLACK, + VGA_BLUE, + VGA_GREEN, + VGA_CYAN, + VGA_RED, + VGA_MAGENTA, + VGA_YELLOW, + VGA_WHITE +}; +#define VGA_BRIGHT 0x80 + +void vga_setcolor(int fg, int bg); +void vga_setcursor(int x, int y); + +#endif /* VGA_H_ */