summaryrefslogtreecommitdiff
path: root/stage3/font.h
diff options
context:
space:
mode:
authorLizzy Fleckenstein <lizzy@vlhl.dev>2023-12-15 16:10:22 +0100
committerLizzy Fleckenstein <lizzy@vlhl.dev>2023-12-15 16:11:38 +0100
commit2298d17186cb0e58a96d285384de431902da9b1e (patch)
tree635d642931d9f55e701639ee3b3707e0e28a805e /stage3/font.h
parent8a25a2935a60e65fcb3e2b715bada858f5fcd6a2 (diff)
downloadcuddles-2298d17186cb0e58a96d285384de431902da9b1e.tar.xz
big chungus
* fix a heap corruption bug * add qemu support * add an ATA driver * add an USTAR read-only file system * boot from disk instead of floppy * font rendering * image rendering * PCI enumeration * init script
Diffstat (limited to 'stage3/font.h')
-rw-r--r--stage3/font.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/stage3/font.h b/stage3/font.h
index 009d1de..ec99118 100644
--- a/stage3/font.h
+++ b/stage3/font.h
@@ -3,9 +3,15 @@
#include "def.h"
+void font_init();
+void font_set_size(u16 size);
+void font_load_blob(const void *blob);
+void font_load_classic();
+
void print(const char *line);
-void set_font_size(u16 size);
+void printn(const char *line, usize len);
void print_char(char c);
-void print_num(u64 x, u8 base, u8 pad);
+void print_num(u64 x, u8 base, u8 pad_len);
+void print_padded(u64 x, u8 base, u8 pad_len, char pad_char);
#endif