summaryrefslogtreecommitdiff
path: root/src/include/vga.h
diff options
context:
space:
mode:
authorCarlos Maiolino <[email protected]>2025-07-26 15:27:23 +0200
committerCarlos Maiolino <[email protected]>2025-07-26 15:27:23 +0200
commitfd9f4bd7724b4440bede4ccbb3670e88289402d9 (patch)
treedc9921957e3afeffbafdaf8cf6ea88d6ce446389 /src/include/vga.h
parent02a4f7fa2100809d84b93dbe8d6c828e4768ad41 (diff)
Move include files to a subdirectory
Move the include files to the toxic/ subdirectory, so it gets a bit more organized. Ah, yeah, OS name will be renamed to ToxicOS Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'src/include/vga.h')
-rw-r--r--src/include/vga.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/include/vga.h b/src/include/vga.h
deleted file mode 100644
index 7aaa210..0000000
--- a/src/include/vga.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef VGA_H
-#define VGA_H
-#include <stddef.h>
-
-#define VGA_ADDRESS 0xb8000
-#define VGA_WIDTH 80
-#define VGA_HEIGHT 20
-
-struct vga_display {
- uint16_t *buf;
- uint16_t color;
- size_t row;
- size_t col;
-};
-
-extern struct vga_display display;
-
-void vga_put_char(size_t row, size_t col, char c, uint16_t color);
-void vga_write_char(char c);
-void vprintl(char *str);
-
-void init_display(uint16_t color);
-
-
-#endif /* VGA_H */