summaryrefslogtreecommitdiff
path: root/Source/Kernel/Core
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Kernel/Core')
-rw-r--r--Source/Kernel/Core/kmain.wtf.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/Kernel/Core/kmain.wtf.cpp b/Source/Kernel/Core/kmain.wtf.cpp
index a59149b..28c65d1 100644
--- a/Source/Kernel/Core/kmain.wtf.cpp
+++ b/Source/Kernel/Core/kmain.wtf.cpp
@@ -173,9 +173,15 @@ void kmain(multiboot_info_t* mbd, u32int magic) {
asm volatile("sti");
- selectVideoMode(*kvt);
+ selectVideoMode(*kvt); //////////////////////// SETUP VIDEO MODE
kvt->unmap();
+ for (int x = 0; x < 256; x++) {
+ for (int y = 0; y < 256; y++) {
+ Disp::mode.device->putPix(x, y, (x << 8) | y);
+ }
+ }
+
//Create a VT for handling the Melon bootup logo
SimpleVT *melonLogoVT = new SimpleVT(melonLogoLines, melonLogoCols, TXTLOGO_FGCOLOR, TXTLOGO_BGCOLOR);
melonLogoVT->map(1);