Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5163 → Rev 5164

/kernel/trunk/video/blitter.inc
454,12 → 454,12
;--------------------------------------
align 4
.skip_1:
mov edi, [esp+.extra_var1]
inc ecx
dec edx
jnz .inner24
 
add esi, [esp+BLITTER.stride]
mov edi, [esp+.extra_var1]
add edi, [_display.pitch]
add ebp, [_display.width]
 
470,17 → 470,14
jmp .done
 
 
 
.core_16:
lea edi, [LFB_BASE+edi+ebx*2]
mov ebx, [CURRENT_TASK]
 
align 4
.outer16:
mov [esp+.extra_var1], edi
xor ecx, ecx
 
align 4
.inner16:
cmp [ebp+ecx], bl ; Does the process own this pixel?
jne .skip_2
494,7 → 491,6
cmp [_display.select_cursor], 0
jne .no_mouseunder_2
;--------------------------------------
align 4
@@:
push ecx
 
508,7 → 504,6
call [_display.check_mouse]
pop ecx
;--------------------------------------
align 4
.no_mouseunder_2:
; convert to 16 bpp and store to LFB
and eax, 00000000111110001111110011111000b
520,14 → 515,13
mov [edi+ecx*2], ax
pop eax
;--------------------------------------
align 4
.skip_2:
mov edi, [esp+.extra_var1]
inc ecx
dec edx
jnz .inner16
 
add esi, [esp+BLITTER.stride]
mov edi, [esp+.extra_var1]
add edi, [_display.pitch]
add ebp, [_display.width]