feat(drivers): add VGA text-mode driver with scrolling and cursor

This commit is contained in:
dualfroz committed 2026-08-24 13:05:24 +02:00
1 parent 39f8c5fc48
commit 7b52e9d3f9
2 files changed
+124

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
#ifndef FROSTBYTE_VGA_H
#define FROSTBYTE_VGA_H
#include "types.h"
typedef enum {
vgaBlack = 0,
vgaBlue = 1,
vgaGreen = 2,
vgaCyan = 3,
vgaRed = 4,
vgaMagenta = 5,
vgaBrown = 6,
vgaLightGrey = 7,
vgaDarkGrey = 8,
vgaLightBlue = 9,
vgaLightGreen = 10,
vgaLightCyan = 11,
vgaLightRed = 12,
vgaPink = 13,
vgaYellow = 14,
vgaWhite = 15
} VgaColor;
void vgaInit(void);
void vgaClear(void);
void vgaPutChar(char c);
void vgaWriteString(const char* str);
void vgaSetColor(VgaColor foreground, VgaColor background);
#endif