aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/graphics/vesa.h
diff options
context:
space:
mode:
authorMarvin Borner2019-10-26 16:37:33 +0200
committerMarvin Borner2019-10-26 16:37:33 +0200
commit5668d7cfc5bb05057c5368eceb2bbb8a6a45a8c3 (patch)
tree44229f0221635a5cee11178a80119572aedf3825 /src/kernel/graphics/vesa.h
parent5a4db78897063e5b09a676b02fec3ba4a2965921 (diff)
Removed VGA driver support
Diffstat (limited to 'src/kernel/graphics/vesa.h')
-rw-r--r--src/kernel/graphics/vesa.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/kernel/graphics/vesa.h b/src/kernel/graphics/vesa.h
index 9ebc435..4203cf3 100644
--- a/src/kernel/graphics/vesa.h
+++ b/src/kernel/graphics/vesa.h
@@ -134,18 +134,29 @@ void vbe_set_mode(unsigned short mode);
void set_optimal_resolution();
/**
+ * Clears the screen with black
+ */
+void vesa_clear();
+
+/**
* Draw a char from keyboard
- * @param ch
+ * @param ch The character
*/
void vesa_keyboard_char(char ch);
/**
* Draw a string in VESA mode
- * @param ch
+ * @param data The string
*/
void vesa_draw_string(char *data);
/**
+ * Draw a number in VESA mode
+ * @param n The number
+ */
+void vesa_draw_number(int n);
+
+/**
* The current video mode
*/
int vbe_current_mode;