diff options
author | Marvin Borner | 2020-07-21 21:45:36 +0200 |
---|---|---|
committer | Marvin Borner | 2020-07-21 21:45:36 +0200 |
commit | e26cc5e5e2ce6fe5c0fbb7a4ed83e8d81fa2745f (patch) | |
tree | a1a277f2b0b193db750e002dfa79cbf0930d23b2 /src/main.c | |
parent | cc308ff776a47d0c69b004713c872c112eda0cfb (diff) |
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).
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |