feat: separate VGA
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user