This commit is contained in:
nub31
2025-09-01 19:18:38 +02:00
parent 385c0d432c
commit 1bc122e29a
10 changed files with 106 additions and 65 deletions

View File

@@ -24,7 +24,7 @@ vga_char vga_char_at(u8 row, u8 col)
return vga_buffer[COLUMNS * row + col];
}
void vga_clear(void)
void vga_clear()
{
for (u8 row = 0; row < ROWS; row++)
{
@@ -121,14 +121,14 @@ void vga_print_colored(const char* string, vga_color_t color)
}
}
void vga_print_success(void)
void vga_print_success()
{
vga_print("[ ");
vga_print_colored("success", VGA_GREEN);
vga_print(" ]");
}
void vga_print_error(void)
void vga_print_error()
{
vga_print("[ ");
vga_print_colored("error", VGA_RED);