feat: separate VGA

This commit is contained in:
2026-10-03 06:57:51 +02:00
parent 4d804fc7b7
commit 58afc2fc61
3 changed files with 37 additions and 18 deletions
+16
View File
@@ -0,0 +1,16 @@
#ifndef VGA_HPP
#define VGA_HPP
#include "types.hpp"
class vga {
public:
static constexpr u8 ROWS = 25;
static constexpr u8 COLS = 80;
public:
static void clear();
static void putc(char ch, u8 col, u8 row);
static void puts(const char* str, u8 col, u8 row);
};
#endif // VGA_HPP