From c9a1b119647d2ffce17c01a0998ba7343ea0ed13 Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Mon, 30 Oct 2006 15:09:35 +0000 Subject: [PATCH] fixed performance down in video modes 0 and 9. git-svn-id: svn://kolibrios.org@201 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/memory.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/trunk/core/memory.inc b/kernel/trunk/core/memory.inc index 559916ebbc..413b7a0806 100644 --- a/kernel/trunk/core/memory.inc +++ b/kernel/trunk/core/memory.inc @@ -286,8 +286,10 @@ proc init_LFB cmp dword [LFBAddress], -1 jne @f + mov [0x2f0000+0x901c],byte 2 stdcall kernel_alloc, 0x280000 mov [LFBAddress], eax + ret @@: test [SCR_MODE],word 0100000000000000b