diff options
author | Marvin Borner | 2020-07-25 17:41:54 +0200 |
---|---|---|
committer | Marvin Borner | 2020-07-25 17:41:54 +0200 |
commit | 6e8fd8c61a77e4eb08d859f8e0fc42226cc4c7f3 (patch) | |
tree | b0b23183affa278eff2c7c142e89e47dc40d9dd9 /src/inc/vesa.h | |
parent | be9ade5ac65209277dc18f8eb9b03a55e2b9e6ad (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.h | 7 |
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 |