aboutsummaryrefslogtreecommitdiff
path: root/src/inc/vesa.h
diff options
context:
space:
mode:
authorMarvin Borner2020-07-25 17:41:54 +0200
committerMarvin Borner2020-07-25 17:41:54 +0200
commit6e8fd8c61a77e4eb08d859f8e0fc42226cc4c7f3 (patch)
treeb0b23183affa278eff2c7c142e89e47dc40d9dd9 /src/inc/vesa.h
parentbe9ade5ac65209277dc18f8eb9b03a55e2b9e6ad (diff)
Added very basic PSF parser
Version 1 works; Version 2 not so much
Diffstat (limited to 'src/inc/vesa.h')
-rw-r--r--src/inc/vesa.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/inc/vesa.h b/src/inc/vesa.h
index c4863f1..e1ea521 100644
--- a/src/inc/vesa.h
+++ b/src/inc/vesa.h
@@ -44,7 +44,12 @@ struct vbe {
};
struct vbe *vbe;
+int vbe_bpl;
+int vbe_pitch;
+u8 *fb;
-void vesa_fill(const u8 color[3]);
+void vesa_fill(const u32 color[3]);
+void vesa_set_pixel(u16 x, u16 y, const u32 color[3]);
+void vesa_init(struct vbe *info);
#endif