17 lines
302 B
C++
17 lines
302 B
C++
#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
|