BeeBS
A simple operating system, I assure you.
Toggle main menu visibility
Loading...
Searching...
No Matches
fb.h
1
#include <stdbool.h>
2
3
#define COLOR_BLÅBÆR_R 29
4
#define COLOR_BLÅBÆR_G 45
5
#define COLOR_BLÅBÆR_B 68
6
7
#define FRAMEBUFFER_WIDTH 640
8
#define FRAMEBUFFER_HEIGHT 480
9
#define FRAMEBUFFER_DEPTH 4
10
11
#define CHAR_PIXEL_WIDTH 8
12
#define CHAR_PIXEL_HEIGHT 16
13
14
#define min(a,b) ((a < b) ? (a) : (b))
15
16
int
fb_init(
void
);
17
volatile
void
* fb_address();
18
void
screen_clear(
void
);
19
void
screen_random(
void
);
20
21
void
screen_draw_char(
char
c,
int
x,
int
y);
22
bool
screen_draw_str(
const
char
* str);
nucleus
src
fb.h
Generated by
1.18.0