diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-02-02 22:27:27 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-02-02 22:27:27 +0200 |
commit | 36e8ee0cdaa904ee00710b1d2df16691729cc93d (patch) | |
tree | 16e3836af7ef9efa6da1bbde4248ae5ad956bf58 /vga.h | |
parent | libk: add its own makefile (diff) | |
download | kernel.cpp-36e8ee0cdaa904ee00710b1d2df16691729cc93d.tar.xz |
Print some multiboot2 information
Diffstat (limited to 'vga.h')
-rw-r--r-- | vga.h | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -27,13 +27,10 @@ public: ~VGA() = default; void put_char(char c, size_t x, size_t y, uint8_t color = 0); + void write(char c) override; void write(const String &data) override; - void write(int n); - - template <typename... Args> void write(const String &f, const Args &...a) { - write(f); - write(a...); - } + void write(int n) override; + void write(unsigned int n) override; void set_color(vga_color fg, vga_color bg) { color = (fg | bg << 4); } |