From e26cc5e5e2ce6fe5c0fbb7a4ed83e8d81fa2745f Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 21 Jul 2020 21:45:36 +0200 Subject: Yaas. May or may not work. This is actually very dumb. I thought about a fix for the 0x200 inode 16bit overflow since a few days but then I just decided to use a static inode (5) for the kernel. It's way simpler to implement so I'm staying with this for a while (although specific inodes don't work with genext2fs and co AFAIK). --- src/main.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 82f6961..6b9f2da 100644 --- a/src/main.c +++ b/src/main.c @@ -1,5 +1,10 @@ int main() { + char *vga = (char *)0x000B8000; + for (long i = 0; i < 80 * 25; i++) { + *vga++ = 0; + *vga++ = 0; + } while (1) { }; return 0; -- cgit v1.2.3