Subversion Repositories Kolibri OS

Rev

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

Rev 6333 Rev 6337
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 6333 $
8
$Revision: 6337 $
Line 9... Line 9...
9
 
9
 
Line 865... Line 865...
865
        jnz     .copy_filename
865
        jnz     .copy_filename
Line 866... Line 866...
866
 
866
 
867
        add     esi, ecx
867
        add     esi, ecx
Line -... Line 868...
-
 
868
        jmp     .check_cmdline
-
 
869
 
-
 
870
.copy_full_path:
-
 
871
        mov     esi, [current_slot]
-
 
872
        mov     esi, [esi+APPDATA.cur_dir]
-
 
873
        mov     al, '/'
-
 
874
        stosb
-
 
875
@@:
-
 
876
        lodsb
-
 
877
        stosb
-
 
878
        test    al, al
-
 
879
        jnz     @B
-
 
880
        mov     byte [edi-1], '/'
-
 
881
 
-
 
882
        lea     esi, [ebp+sizeof.APP_HDR]
-
 
883
        xor     eax, eax
-
 
884
        rep movsb
-
 
885
        stosb
868
        jmp     .check_cmdline
886
        jmp     .check_cmdline
-
 
887
 
-
 
888
.copy_filename:
-
 
889
 
-
 
890
        cmp     byte [esi], '/'
869
 
891
        jne     .copy_full_path
870
.copy_filename:
892
 
Line 871... Line 893...
871
        rep movsb
893
        rep movsb
872
        stosb
894
        stosb