summaryrefslogtreecommitdiff
path: root/src/kernel/vesa.h
blob: b2f17c848a8f83fa1715acf5e2517ba20b79461a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef VESA_H
#define VESA_H

#include <stdint.h>

extern uint16_t screen_width;
extern uint16_t screen_height;
extern uint8_t bpp;

typedef uint32_t color;

void put_pixel(uint16_t x, uint16_t y, color c);
void screen_fill(color c);

void init_vesa();

#endif