Added stuff for changing colors
This commit is contained in:
parent
125a613de1
commit
12fbfa0de9
2 changed files with 20 additions and 2 deletions
|
@ -43,8 +43,8 @@ void term_scroll(void) {
|
|||
}
|
||||
}
|
||||
|
||||
void term_setcolor(uint8_t color) {
|
||||
term_color = color;
|
||||
void term_setcolor(uint8_t fg, uint8_t bg) {
|
||||
term_color = vga_entry_color(fg, bg);
|
||||
}
|
||||
|
||||
void term_putentryat(unsigned char c, uint8_t color, size_t x, size_t y) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue