diff options
author | Alexis211 <alexis211@gmail.com> | 2009-11-11 18:16:15 +0100 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-11-11 18:16:15 +0100 |
commit | b367cdbbc77f3b1b0f83a87219ea2c4d88ee78f1 (patch) | |
tree | 9ebc81bf6c25375da26c137be3f28ba83edddc8d /Source/Kernel/Core | |
parent | 7c5f4adcc8725efa0f0476e33732873a4167f54d (diff) | |
download | Melon-b367cdbbc77f3b1b0f83a87219ea2c4d88ee78f1.tar.gz Melon-b367cdbbc77f3b1b0f83a87219ea2c4d88ee78f1.zip |
15bpp and 16bpp modes are now supported correctly
Diffstat (limited to 'Source/Kernel/Core')
-rw-r--r-- | Source/Kernel/Core/kmain.wtf.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Source/Kernel/Core/kmain.wtf.cpp b/Source/Kernel/Core/kmain.wtf.cpp index 28c65d1..cf1713f 100644 --- a/Source/Kernel/Core/kmain.wtf.cpp +++ b/Source/Kernel/Core/kmain.wtf.cpp @@ -92,9 +92,8 @@ void selectVideoMode(SimpleVT& v) { } else { v << "No graphics"; } - //v.setCursorCol(40); - //v << m.device->getName() << "\n"; - v << "\n"; + v.setCursorCol(50); + v << m.device->getName() << "\n"; } while (1) { @@ -176,12 +175,6 @@ void kmain(multiboot_info_t* mbd, u32int magic) { 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); |