blob: 89d446b7093d392888aa58db346d3bd6135dc24c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// MIT License, Copyright (c) 2020 Marvin Borner
#include <conv.h>
#include <def.h>
#include <gui.h>
#include <mem.h>
#include <print.h>
#include <sys.h>
#include <vesa.h>
void main(struct vbe *vbe)
{
print("Init loaded.\n");
printf("VBE: %dx%d\n", vbe->width, vbe->height);
const u32 color[3] = { 0, 0, 0 };
vesa_fill(vbe, color);
gui_init("/font/spleen-16x32.psfu");
gui_term_write(vbe, "hallo");
/* exec("/a"); */
/* exec("/b"); */
exit();
}
|