aboutsummaryrefslogtreecommitdiff
path: root/src/vga.h
blob: a9c46c6d7459610fb09131ad4ded45a709cce46b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _VGA_H
#define _VGA_H

uint8_t *open_framebuffer();
void close_framebuffer();

void set_mode(uint8_t mode);

/* 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