diff options
author | Alexis211 <alexis211@gmail.com> | 2009-11-11 17:32:01 +0100 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-11-11 17:32:01 +0100 |
commit | 7c5f4adcc8725efa0f0476e33732873a4167f54d (patch) | |
tree | 11034d19d05408aa493fc737a7730a7c33e62617 /Source/Kernel/Core | |
parent | 8a3323d48aef03a749db36bf58bbd3bca5c4eff2 (diff) | |
download | Melon-7c5f4adcc8725efa0f0476e33732873a4167f54d.tar.gz Melon-7c5f4adcc8725efa0f0476e33732873a4167f54d.zip |
Modified the way of calling V86 procedures, and calling BIOS ints
Diffstat (limited to 'Source/Kernel/Core')
-rw-r--r-- | Source/Kernel/Core/kmain.wtf.cpp | 8 |
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); |