Subversion Repositories Kolibri OS

Rev

Rev 1776 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1776 Rev 1931
Line 685... Line 685...
685
       push	.z_buff
685
       push	.z_buff
686
       push	.t_emap
686
       push	.t_emap
687
       push	.t_bmap
687
       push	.t_bmap
688
       push	dword .cey2
688
       push	dword .cey2
689
       push	.cex2
689
       push	.cex2
690
       push	dword .cey1
-
 
691
       push	.cex1
-
 
692
       push	dword .cby2
690
       push	dword .cby2
693
       push	.cbx2
691
       push	.cbx2
-
 
692
       push	dword .cey1
-
 
693
       push	.cex1
694
       push	dword .cby1
694
       push	dword .cby1
695
       push	.cbx1
695
       push	.cbx1
696
       push	ecx
696
       push	ecx
Line 697... Line 697...
697
 
697
 
Line 710... Line 710...
710
;--------------    edi - pointer to screen buffer
710
;--------------    edi - pointer to screen buffer
711
;stack - another parameters :
711
;stack - another parameters :
712
.y	equ dword [ebp+4]
712
.y	equ dword [ebp+4]
713
.bx1	equ	  [ebp+8]   ;   ---
713
.bx1	equ	  [ebp+8]   ;   ---
714
.by1	equ dword [ebp+12]  ;       |
714
.by1	equ dword [ebp+12]  ;       |
715
.bx2	equ	  [ebp+16]  ;       |
715
.ex1	equ	  [ebp+16]  ;       |
716
.by2	equ dword [ebp+20]  ;       |>   bump and env coords
716
.ey1	equ dword [ebp+20]  ;       |>   bump and env coords
717
.ex1	equ	  [ebp+24]  ;       |>   shifted shl ROUND
717
.bx2	equ	  [ebp+24]  ;       |>   shifted shl ROUND
718
.ey1	equ dword [ebp+28]  ;       |
718
.by2	equ dword [ebp+28]  ;       |
719
.ex2	equ	  [ebp+32]  ;       |
719
.ex2	equ	  [ebp+32]  ;       |
720
.ey2	equ dword [ebp+36]  ;   ---
720
.ey2	equ dword [ebp+36]  ;   ---
721
.bmap	equ dword [ebp+40]
721
.bmap	equ dword [ebp+40]
722
.emap	equ dword [ebp+44]
722
.emap	equ dword [ebp+44]
723
.z_buff equ dword [ebp+48]
723
.z_buff equ dword [ebp+48]
Line 768... Line 768...
768
	xchg	edx,.ex2
768
	xchg	edx,.ex2
769
	mov	.ex1,edx
769
	mov	.ex1,edx
770
	mov	edx,.ey1
770
	mov	edx,.ey1
771
	xchg	edx,.ey2
771
	xchg	edx,.ey2
772
	mov	.ey1,edx
772
	mov	.ey1,edx
773
else
773
end if
774
 
774
if Ext = MMX
775
	movq	mm0,.bx1
775
	movq	mm0,.bx1
776
	movq	mm1,.ex1
776
	movq	mm1,.ex1
777
	movq	mm2,.bx2
777
	movq	mm2,.bx2
778
	movq	mm3,.ex2
778
	movq	mm3,.ex2
779
	movq	.bx2,mm0
779
	movq	.bx2,mm0
780
	movq	.ex2,mm1
780
	movq	.ex2,mm1
781
	movq	.bx1,mm2
781
	movq	.bx1,mm2
782
	movq	.ex1,mm3
782
	movq	.ex1,mm3
783
 
783
end if
-
 
784
if Ext >= SSE
-
 
785
	movups	xmm0,.bx1
-
 
786
	movups	xmm1,.bx2
-
 
787
	movups	.bx2,xmm0
-
 
788
	movups	.bx1,xmm1
784
end if
789
end if
Line 785... Line 790...
785
 
790
 
786
	mov	edx,.z1
791
	mov	edx,.z1
787
	xchg	edx,.z2
792
	xchg	edx,.z2