From 55f0657bdd7aa38fa08c6aebcb9b97346bad6db5 Mon Sep 17 00:00:00 2001 From: MonkeyGG2 Date: Sat, 17 Feb 2024 15:18:12 -0500 Subject: [PATCH] vga_clearscreen --- sys/drv/vga/video.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/drv/vga/video.c b/sys/drv/vga/video.c index 64a8a02..2e10bea 100644 --- a/sys/drv/vga/video.c +++ b/sys/drv/vga/video.c @@ -2,9 +2,11 @@ #define SIZE 4000 void vga_write(char*, char, short) { - + } void vga_clearscreen() { - + for (int i = 0; i <= SIZE; i++) { + VGA_START[i] = 0; + } } \ No newline at end of file