aboutsummaryrefslogtreecommitdiff
path: root/drivers/cga.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2021-03-14 23:08:46 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2021-03-14 23:08:46 +0200
commiteb909686f19073b324dee15366b957802dc095a7 (patch)
tree4adf50f94a19f8d2ed76fe9d181bafd8e1fb16fd /drivers/cga.h
parentAdd GPL3 license (diff)
downloadkernel.cpp-eb909686f19073b324dee15366b957802dc095a7.tar.xz
CGA: map and set buffer address in kernel main
Diffstat (limited to 'drivers/cga.h')
-rw-r--r--drivers/cga.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/cga.h b/drivers/cga.h
index f4dfb3c..ec207c4 100644
--- a/drivers/cga.h
+++ b/drivers/cga.h
@@ -35,10 +35,13 @@ public:
CGA_COLOR_WHITE = 15,
};
- CGA();
+ CGA() = default;
~CGA() = default;
+ void set_buffer(uint32_t);
+
void set_colour(Colour fg, Colour bg);
+ void clear();
void enable_cursor(uint8_t start, uint8_t end);
void disable_cursor();