Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6789 → Rev 6790

/kernel/trunk/video/blitter.inc
206,10 → 206,13
.position dd ? ; (x shl 16) + y
; ???
.extra_var1 dd ?
.flags dd ?
.local_vars_size = $
end virtual
sub esp, .local_vars_size
 
mov [esp+.flags], ebx
mov eax, [TASK_BASE]
mov ebx, [eax-twdw + WDATA.box.width]
mov edx, [eax-twdw + WDATA.box.height]
263,6 → 266,14
add ebx, [eax-twdw + WDATA.box.left]
add ebp, [eax-twdw + WDATA.box.top]
 
test [esp+.flags], BLIT_CLIENT_RELATIVE
jz .no_client_relative
 
mov eax, [current_slot]
add ebx, [eax + APPDATA.wnd_clientbox.left]
add ebp, [eax + APPDATA.wnd_clientbox.top]
.no_client_relative:
 
mov ecx, ebx
add ecx, [esp+BLITTER.w]
shl ecx, 16