From dbdaa77fb5924b4b9e6b374a44ef76481a38d3d2 Mon Sep 17 00:00:00 2001 From: aqua Date: Tue, 8 Nov 2022 17:19:45 +0200 Subject: Add FILE struct --- devices/vga.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'devices/vga.h') diff --git a/devices/vga.h b/devices/vga.h index daaa482..d9dfd44 100644 --- a/devices/vga.h +++ b/devices/vga.h @@ -1,5 +1,7 @@ #pragma once +#include + /** Hardware text mode color constants. */ enum vga_color { VGA_COLOR_BLACK = 0, @@ -20,11 +22,11 @@ enum vga_color { VGA_COLOR_WHITE = 15, }; -void vga_init(); +FILE *vga_init(); void vga_clear(enum vga_color foreground, enum vga_color background); -void vga_putc(char a); -void vga_puts(const char *string, int len); +// void vga_putc(char a); +// void vga_puts(const char *string, int len); // void vga_enable_cursor(unsigned char start, unsigned char end); // void vga_disable_cursor(); -- cgit v1.2.1