summaryrefslogtreecommitdiff
path: root/Source/Kernel/Devices/Display/VESADisplay.class.cpp
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-12-25 10:17:25 +0100
committerAlexis211 <alexis211@gmail.com>2009-12-25 10:17:25 +0100
commit6994f34953fac9462e899d0b2c7af64e21c92a1e (patch)
treed4b1d10a4af6f630d168791d56fef6993ed2cb22 /Source/Kernel/Devices/Display/VESADisplay.class.cpp
parentc4cb32b8534610a92931d825efefd6892e8412af (diff)
downloadMelon-6994f34953fac9462e899d0b2c7af64e21c92a1e.tar.gz
Melon-6994f34953fac9462e899d0b2c7af64e21c92a1e.zip
More work
Diffstat (limited to 'Source/Kernel/Devices/Display/VESADisplay.class.cpp')
-rw-r--r--Source/Kernel/Devices/Display/VESADisplay.class.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/Kernel/Devices/Display/VESADisplay.class.cpp b/Source/Kernel/Devices/Display/VESADisplay.class.cpp
index 1025319..62f2f2d 100644
--- a/Source/Kernel/Devices/Display/VESADisplay.class.cpp
+++ b/Source/Kernel/Devices/Display/VESADisplay.class.cpp
@@ -112,11 +112,6 @@ bool VESADisplay::setMode(mode_t &mode) {
if ((regs.ax & 0xFF00) != 0) return false;
if (m_currMode.bpp == 8) {
- //Set palette to 8 bit
- regs.ax = 0x4F08;
- regs.bx = 0x0800;
- V86::biosInt(0x10, regs);
- if ((regs.ax & 0xFF) != 0x4F or regs.bx != 0x0800) return false;
//Set palette data
for (int i = 0; i < 16; i++) {
m_8bitPalette[i].pixels = 0;