// MIT License, Copyright (c) 2020 Marvin Borner #include #include #include #include #include #include void main(char **argv) { struct vbe *vbe = (struct vbe *)argv[0]; print("WM loaded.\n"); printf("VBE: %dx%d\n", vbe->width, vbe->height); const u32 color[3] = { 0xff, 0xff, 0 }; const u32 text[3] = { 0, 0, 0 }; vesa_fill(vbe, color); gui_init("/font/spleen-16x32.psfu"); gui_write(vbe, 50, 50, text, "hallo"); while (1) { }; exit(); }