forked from KolibriOS/kolibrios
end: not allowed to window move and rolled-up
git-svn-id: svn://kolibrios.org@3443 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
e61b3f010d
commit
75a54cbc0f
@ -1,6 +1,6 @@
|
|||||||
;
|
;
|
||||||
; END
|
; END
|
||||||
; KolibriOS Team 2005-2010
|
; KolibriOS Team 2005-2013
|
||||||
;
|
;
|
||||||
; <diamond> note that 'mov al,xx' is shorter than 'mov eax,xx'
|
; <diamond> note that 'mov al,xx' is shorter than 'mov eax,xx'
|
||||||
; and if we know that high 24 bits of eax are zero, we can use 1st form
|
; and if we know that high 24 bits of eax are zero, we can use 1st form
|
||||||
@ -23,21 +23,20 @@ do_draw:
|
|||||||
|
|
||||||
shr eax,17
|
shr eax,17
|
||||||
shl eax,16
|
shl eax,16
|
||||||
lea ebx,[eax-110*10000h+220]
|
lea ebx,[eax-110*10000h+222]
|
||||||
|
|
||||||
shr ecx,1
|
shr ecx,1
|
||||||
shl ecx,16
|
shl ecx,16
|
||||||
sub ecx,50*10000h - 115
|
sub ecx,50*10000h - 115
|
||||||
|
|
||||||
xor eax,eax ; define and draw window
|
xor eax,eax ; define and draw window
|
||||||
mov edx,0x00cccccc
|
mov edx,0x01cccccc
|
||||||
mov esi,edx
|
mov esi,edx
|
||||||
mov edi,edx
|
mov edi,edx
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
sub edx,0x555555
|
mcall 13,0 shl 16+222,0 shl 16+230, 0xcccccc
|
||||||
mov al,13
|
mcall ,19 shl 16+87,21 shl 16+24, 0x555555
|
||||||
mcall ,19 shl 16+87,21 shl 16+24
|
|
||||||
push ebx
|
push ebx
|
||||||
mcall ,122 shl 16+87
|
mcall ,122 shl 16+87
|
||||||
xchg ebx,[esp]
|
xchg ebx,[esp]
|
||||||
|
Loading…
Reference in New Issue
Block a user