From 8a90112e87e8a168af9f42c518cfabc45e6e9f2b Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Sun, 24 Nov 2013 07:01:31 +0000 Subject: [PATCH] kernel.set_screen: allways do force resetting git-svn-id: svn://kolibrios.org@4286 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/kernel.asm | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index 9ff53f9ce..cda3862cc 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -1108,7 +1108,7 @@ end if mov al, 1 ; at least one CPU @@: DEBUGF 1, "K : %d CPU detected\n", eax - + include "detect/vortex86.inc" ; Vortex86 SoC detection code DEBUGF 1, "K : BAR0 %x \n", [IDE_BAR0_val]:4 @@ -3251,10 +3251,10 @@ sys_cpuusage: ; Event mask (+71) mov EAX, dword [ECX+CURRENT_TASK+TASKDATA.event_mask] stosd - + ; Keyboard mode (+75) mov al, byte [ecx*8 + SLOT_BASE + APPDATA.keyboard_mode] - stosb + stosb pop esi pop edi @@ -5611,13 +5611,7 @@ set_screen: ; eax - new Screen_Max_X ; ecx - new BytesPerScanLine ; edx - new Screen_Max_Y - cmp eax, [Screen_Max_X] - jne .set - cmp edx, [Screen_Max_Y] - jne .set - ret -.set: pushfd cli