From 3b875b209eb1ec98ee56579c86e09fee59af342a Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Wed, 18 Jul 2018 13:54:38 +0200 Subject: [PATCH] Correct VGA height --- vga.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vga.h b/vga.h index e426fb9..62881f8 100644 --- a/vga.h +++ b/vga.h @@ -1,6 +1,7 @@ #pragma once #include "types.h" +// https://wiki.osdev.org/Text_UI #define BLACK 0x00 #define BLUE 0x01 #define GREEN 0x02 @@ -13,7 +14,7 @@ #define VGA_ADDR 0xB8000 #define VGA_WIDTH 80 -#define VGA_HEIGHT 15 +#define VGA_HEIGHT 25 void clearScreen(uint bgColor); void printInt(int integer, uint color, uint bgColor, int startX, int startY);