commit | d3a652e7f951c790a16fe1249ed8e288ac44b8fc | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Sun Feb 21 22:16:06 2021 -0800 |
committer | swissChili <swisschili@fastmail.com> | Sun Feb 21 22:16:06 2021 -0800 |
tree | 74b05e884daa875687bd6e6a5ee95db9580a07ac | |
parent | 7eef438ef8a5601754ae6ed9b782508482671fcb [diff] [blame] |
Move kernel to higher half
diff --git a/src/kernel/vga.c b/src/kernel/vga.c index bfd13e0..de5e998 100644 --- a/src/kernel/vga.c +++ b/src/kernel/vga.c
@@ -7,7 +7,7 @@ static ushort color = WHITE; -static ushort *fb = (ushort *)0xB8000; +static ushort *fb = (ushort *)(0xB8000 + 0xC0000000); static void move_cursor() {