From c4a0bc2571162ad83fc51eb823f1c535336041bf Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 16 Aug 2020 00:44:53 +0200 Subject: Added psf/gui to libgui ...and some other things --- apps/init.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps/init.c') diff --git a/apps/init.c b/apps/init.c index f087b41..89d446b 100644 --- a/apps/init.c +++ b/apps/init.c @@ -2,6 +2,7 @@ #include #include +#include #include #include #include @@ -12,8 +13,10 @@ void main(struct vbe *vbe) print("Init loaded.\n"); printf("VBE: %dx%d\n", vbe->width, vbe->height); - const u32 color[3] = { 0, 0xff, 0 }; + 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"); */ -- cgit v1.2.3