swissChili | d813792 | 2021-02-17 15:34:07 -0800 | [diff] [blame] | 1 | #pragma once |
2 | |||||
3 | #include "kint.h" | ||||
4 | |||||
5 | enum vga_colors | ||||
6 | { | ||||
7 | BLACK = 0, | ||||
8 | BLUE, | ||||
9 | GREEN, | ||||
10 | CYAN, | ||||
11 | RED, | ||||
12 | MAGENTA, | ||||
13 | BROWN, | ||||
14 | LIGHT_GREY, | ||||
15 | DARK_GREY, | ||||
16 | LIGHT_BLUE, | ||||
17 | LIGHT_GREEN, | ||||
18 | LIGHT_CYAN, | ||||
19 | LIGHT_RED, | ||||
20 | LIGHT_MAGENTA, | ||||
21 | LIGHT_BROWN, | ||||
22 | WHITE, | ||||
23 | }; | ||||
24 | |||||
25 | void vga_set_color(enum vga_colors fg, enum vga_colors bg); | ||||
26 | void vga_put(char c); | ||||
swissChili | 0b35bf2 | 2021-02-18 12:49:40 -0800 | [diff] [blame] | 27 | void vga_putd(uint d); |
swissChili | d813792 | 2021-02-17 15:34:07 -0800 | [diff] [blame] | 28 | void vga_putx(uint x); |
29 | void vga_clear(); | ||||
30 | void vga_write(char *c); | ||||
swissChili | dc25b2b | 2021-02-23 17:07:13 -0800 | [diff] [blame] | 31 | |
32 | void init_vga(); |