1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef MELVIX_GRAPHICS_H #define MELVIX_GRAPHICS_H struct font { uint16_t font_32[758][32]; uint16_t font_24[758][24]; uint8_t font_16[758][16]; uint16_t cursor[19]; }; struct userspace_pointers { unsigned char *fb; struct font *font; }; void init_framebuffer(); #endif