2019-08-31 11:04:30 -05:00
|
|
|
#ifndef vga_H
|
|
|
|
#define vga_H
|
|
|
|
|
|
|
|
typedef enum {
|
|
|
|
VGA_BLACK=0,
|
|
|
|
VGA_BLUE=1,
|
|
|
|
VGA_GREEN=2,
|
|
|
|
VGA_CYAN=3,
|
|
|
|
VGA_RED=4,
|
|
|
|
VGA_PURPLE=5,
|
2020-08-23 08:22:14 -05:00
|
|
|
VGA_YELLOW=14,
|
2019-08-31 11:04:30 -05:00
|
|
|
VGA_GRAY=7,
|
|
|
|
VGA_WHITE=15
|
2019-09-06 15:36:36 -05:00
|
|
|
} vga_color;
|
2019-08-31 11:04:30 -05:00
|
|
|
|
|
|
|
|
|
|
|
void vga_init();
|
|
|
|
void vga_write_string(const char *string);
|
|
|
|
void vga_clear();
|
|
|
|
void vga_backspace();
|
|
|
|
|
|
|
|
#endif
|