From 6994f34953fac9462e899d0b2c7af64e21c92a1e Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Fri, 25 Dec 2009 10:17:25 +0100 Subject: More work --- Source/Kernel/Devices/Display/VESADisplay.class.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'Source/Kernel') 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; -- cgit v1.2.3