Subversion Repositories Kolibri OS

Rev

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

Rev 2324 Rev 2348
Line 815... Line 815...
815
	@@:
815
	@@:
816
	pop ebx
816
	pop ebx
817
	add eax,2
817
	add eax,2
818
	mov dword [eax],0 ; first sumbol 'perv=0'
818
	mov dword [eax],0 ; first sumbol 'perv=0'
Line 819... Line 819...
819
 
819
 
820
	mov edx,ted_tex
820
	mov edx,ted_tex ; ­ áâனª¨ ­ ç «ì­®£® á«ã¦¥¡­®£® ᨬ¢®« 
821
	; begining sumbol 'perv=0' 'next=2'
821
	; begining sumbol 'perv=0' 'next=2'
822
	mov dword [edx+2],0
822
	mov dword [edx+2],0
Line 823... Line 823...
823
	mov dword [edx+6],2
823
	mov dword [edx+6],2
824
 
824
 
825
	add edx,sizeof.symbol
825
	add edx,sizeof.symbol ; ­ áâனª¨ ª®­¥ç­®£® á«ã¦¥¡­®£® ᨬ¢®« 
826
	mov dword [edx+6],0 ; last sumbol 'next=0'
826
	mov dword [edx+6],0 ; last sumbol 'next=0'
-
 
827
	mov dword [edx+2],ebx ; last sumbol 'perv=last'
Line 827... Line 828...
827
	mov dword [edx+2],ebx ; last sumbol 'perv=last'
828
	inc dword [edx+2]
828
	inc dword [edx+2]
829
	mov dword [edx+10],0 ; áâ ¢¨¬ ¢à¥¬ï ᮧ¤ ­¨ï à ¢­®¥ 0, çâ® ¡ë ᨬ¢®« ¯à ¢¨«ì­® ®¡à ¡ â뢠«áï ¯à¨ ®âªàë⨨ ä ©«®¢ ¡®«ìè¨å 28 ¡ ©â
829
 
830
 
830
	mov edx,ebx
831
	mov edx,ebx
Line 1909... Line 1910...
1909
  mov eax,ted_tim_ch
1910
	mov eax,ted_tim_ch
1910
  cmp ted_tim_ls,eax ;if(ted_tim_ls>ted_tim_ch)
1911
	cmp ted_tim_ls,eax ;if(ted_tim_ls>ted_tim_ch)
1911
  jle @f
1912
	jle @f
1912
    mov ted_tim_ls,0
1913
		mov ted_tim_ls,0
1913
  @@:
1914
	@@:
1914
    cmp edx,ted_tex
1915
		cmp edx,ted_tex_1
1915
    je @f
1916
		jle @f
Line 1916... Line 1917...
1916
 
1917
 
1917
    ;if(tex[i].tc>ted_tim_ch){ // ¥á«¨ ᮧ¤ ­¨¥ ᨬ¢®«  ¡ë«® ®â¬¥­¥­®
1918
		;if(tex[i].tc>ted_tim_ch){ // ¥á«¨ ᮧ¤ ­¨¥ ᨬ¢®«  ¡ë«® ®â¬¥­¥­®
1918
    cmp [edx+10],eax
1919
		cmp [edx+10],eax
1919
    jle .no_u1
1920
		jle .no_u1
1920
      mov dword [edx+10],0
1921
			mov dword [edx+10],0
Line 1921... Line 1922...
1921
      mov dword [edx+14],0
1922
			mov dword [edx+14],0
1922
 
1923
 
1923
      mov ebx,[edx+2]
1924
			mov ebx,[edx+2]
1924
      imul ebx,sizeof.symbol
1925
			imul ebx,sizeof.symbol
Line 1925... Line 1926...
1925
      add ebx,ted_tex;.next
1926
			add ebx,ted_tex ;ebx=tex[i].perv
1926
      m2m dword [ebx+6],dword [edx+6] ;tex[tex[i].perv].next=tex[i].next;
1927
			m2m dword [ebx+6],dword [edx+6] ;tex[tex[i].perv].next=tex[i].next;
1927
 
1928
 
1928
      mov ebx,[edx+6]
1929
			mov ebx,[edx+6]
Line 1929... Line 1930...
1929
      imul ebx,sizeof.symbol
1930
			imul ebx,sizeof.symbol
1930
      add ebx,ted_tex;.perv
1931
			add ebx,ted_tex ;ebx=tex[i].next
1931
      m2m dword [ebx+2],dword [edx+2] ;tex[tex[i].next].perv=tex[i].perv;
1932
			m2m dword [ebx+2],dword [edx+2] ;tex[tex[i].next].perv=tex[i].perv;
-
 
1933
 
-
 
1934
			cmp ted_ptr_free_symb,edx
-
 
1935
			jle .no_cor_free
1932
 
1936
				mov ted_ptr_free_symb,edx ;¬¥­ï¥¬ 㪠§ â¥«ì ­  ᢮¡®¤­ë© ᨬ¢®«, ¤«ï ¡®«¥¥ ¡ëáâண® ¯®¨áª  ¯ ¬ïâ¨
Line 1933... Line 1937...
1933
cmp ted_ptr_free_symb,edx
1937
			.no_cor_free:
1934
jle .no_u1
1938
			mov edx,ebx ;®¯â¨¬¨§¨à㥬 ¯® ᪮à®á⨠(edx ¯®á«¥ ¢ë§®¢  ted_get_text_next_pos ¡ã¤¥â à ¢¥­ ebx)
1935
  mov ted_ptr_free_symb,edx ;¬¥­ï¥¬ 㪠§ â¥«ì ­  ᢮¡®¤­ë© ᨬ¢®«, ¤«ï ¡®«¥¥ ¡ëáâண® ¯®¨áª  ¯ ¬ïâ¨
1939
			jmp @b