Subversion Repositories Kolibri OS

Rev

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

Rev 2192 Rev 6619
Line 740... Line 740...
740
	or	cx,cx
740
	or	cx,cx
741
	jl	.quit_l
741
	jl	.quit_l
742
 
742
 
Line 743... Line 743...
743
	cmp	cx,SIZE_Y
743
	cmp	cx,word[size_y_var]  ;SIZE_Y
744
	jge	.quit_l
744
	jge	.quit_l
Line 745... Line 745...
745
 
745
 
746
	cmp	ax,bx
746
	cmp	ax,bx
747
	je	.quit_l
747
	je	.quit_l
Line 803... Line 803...
803
    @@:
803
    @@:
Line 804... Line 804...
804
	or	bx,bx
804
	or	bx,bx
805
	jle	.quit_l
805
	jle	.quit_l
806
	cmp	ax,SIZE_X
806
	cmp	ax,word[size_x_var]  ;SIZE_X
807
	jge	.quit_l
807
	jge	.quit_l
808
 
808
 
Line 809... Line 809...
809
	push	ax
809
	push	ax
810
	push	bx
810
	push	bx
Line 878... Line 878...
878
	imul   ebx
878
	imul   ebx
879
	add    .tex_y1,eax
879
	add    .tex_y1,eax
880
   @@:
880
   @@:
881
	mov	  edx,SIZE_X
881
	movsx	  edx,word[size_x_var]	;SIZE_X
882
	cmp	  .x2,dx
882
	cmp	  .x2,dx
883
	jl	  @f
883
	jl	  @f
884
	mov	  .x2,dx
884
	mov	  .x2,dx
885
    @@:
885
    @@:
886
; calc line addres begin in screen and Z buffer
886
; calc line addres begin in screen and Z buffer
887
	movsx	  eax,word .y
887
	movsx	  eax,word .y