#ifndef _VGA_H #define _VGA_H uint8_t *open_framebuffer(); void close_framebuffer(); void set_mode(uint8_t mode); void wait_vsync(); /* the palette is expected to be 8 bit per color, and will be converted to VGA's 6 bit per color */ void set_palette(const uint8_t *palette); #endif // _VGA_H