Rev 6337 | Rev 6345 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6337 | Rev 6338 | ||
---|---|---|---|
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: 6337 $ |
8 | $Revision: 6338 $ |
Line 9... | Line 9... | ||
9 | 9 | ||
Line 868... | Line 868... | ||
868 | jmp .check_cmdline |
868 | jmp .check_cmdline |
Line 869... | Line 869... | ||
869 | 869 | ||
870 | .copy_full_path: |
870 | .copy_full_path: |
871 | mov esi, [current_slot] |
871 | mov esi, [current_slot] |
- | 872 | mov esi, [esi+APPDATA.cur_dir] |
|
872 | mov esi, [esi+APPDATA.cur_dir] |
873 | mov ebx, 1023 |
873 | mov al, '/' |
874 | mov al, '/' |
874 | stosb |
875 | stosb |
- | 876 | ||
- | 877 | .copy_path: |
|
- | 878 | dec ebx |
|
875 | @@: |
879 | jz .finish_path |
876 | lodsb |
880 | lodsb |
877 | stosb |
881 | stosb |
878 | test al, al |
882 | test al, al |
879 | jnz @B |
883 | jnz .copy_path |
Line -... | Line 884... | ||
- | 884 | mov byte [edi-1], '/' |
|
- | 885 | ||
- | 886 | cmp ecx, ebx |
|
- | 887 | jbe @F |
|
880 | mov byte [edi-1], '/' |
888 | mov ecx, ebx |
881 | 889 | @@: |
|
882 | lea esi, [ebp+sizeof.APP_HDR] |
890 | lea esi, [ebp+sizeof.APP_HDR] |
883 | xor eax, eax |
891 | xor eax, eax |
884 | rep movsb |
892 | rep movsb |
Line 885... | Line 893... | ||
885 | stosb |
893 | stosb |
- | 894 | jmp .check_cmdline |
|
- | 895 | ||
- | 896 | .finish_path: |
|
Line -... | Line 897... | ||
- | 897 | xor eax, eax |
|
886 | jmp .check_cmdline |
898 | stosb |
887 | 899 | jmp .check_cmdline |
|
Line 888... | Line 900... | ||
888 | .copy_filename: |
900 | |
889 | 901 | .copy_filename: |