Correct VGA height
This commit is contained in:
parent
9756f3f3ce
commit
3b875b209e
3
vga.h
3
vga.h
@ -1,6 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
|
// https://wiki.osdev.org/Text_UI
|
||||||
#define BLACK 0x00
|
#define BLACK 0x00
|
||||||
#define BLUE 0x01
|
#define BLUE 0x01
|
||||||
#define GREEN 0x02
|
#define GREEN 0x02
|
||||||
@ -13,7 +14,7 @@
|
|||||||
|
|
||||||
#define VGA_ADDR 0xB8000
|
#define VGA_ADDR 0xB8000
|
||||||
#define VGA_WIDTH 80
|
#define VGA_WIDTH 80
|
||||||
#define VGA_HEIGHT 15
|
#define VGA_HEIGHT 25
|
||||||
|
|
||||||
void clearScreen(uint bgColor);
|
void clearScreen(uint bgColor);
|
||||||
void printInt(int integer, uint color, uint bgColor, int startX, int startY);
|
void printInt(int integer, uint color, uint bgColor, int startX, int startY);
|
||||||
|
Loading…
Reference in New Issue
Block a user