Correct VGA height

This commit is contained in:
Mathieu Maret 2018-07-18 13:54:38 +02:00
parent 9756f3f3ce
commit 3b875b209e
1 changed files with 2 additions and 1 deletions

3
vga.h
View File

@ -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);