Rev 3663 | Rev 3689 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3663 | Rev 3678 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2011. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2011. 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: 3663 $ |
8 | $Revision: 3678 $ |
9 | 9 | ||
10 | ERROR_SUCCESS = 0 |
10 | ERROR_SUCCESS = 0 |
11 | ERROR_DISK_BASE = 1 |
11 | ERROR_DISK_BASE = 1 |
Line 937... | Line 937... | ||
937 | ; in |
937 | ; in |
938 | ; esi - path with filename(f.70) |
938 | ; esi - path with filename(f.70) |
939 | ; |
939 | ; |
940 | ; out |
940 | ; out |
941 | ; ebp - full filename |
941 | ; ebp - full filename |
- | 942 | pushfd |
|
942 | 943 | cli |
|
943 | mov ebp, [full_file_name_table] |
944 | mov ebp, [full_file_name_table] |
944 | mov edi, [full_file_name_table.size] |
945 | mov edi, [full_file_name_table.size] |
945 | dec edi |
946 | dec edi |
946 | shl edi, 7 |
947 | shl edi, 7 |
947 | add edi, ebp |
948 | add edi, ebp |
Line 977... | Line 978... | ||
977 | lea esi, [edi+64] |
978 | lea esi, [edi+64] |
978 | jnz .ret |
979 | jnz .ret |
979 | .notfound: |
980 | .notfound: |
980 | xor ebp, ebp |
981 | xor ebp, ebp |
981 | .ret: |
982 | .ret: |
- | 983 | popfd |
|
982 | ret |
984 | ret |
Line 983... | Line 985... | ||
983 | 985 | ||
984 | uglobal |
986 | uglobal |
985 | lock_flag_for_f30_3 rb 1 |
987 | lock_flag_for_f30_3 rb 1 |
Line 1012... | Line 1014... | ||
1012 | 1014 | ||
1013 | mov esi, ecx |
1015 | mov esi, ecx |
1014 | mov edi, sysdir_name1 |
1016 | mov edi, sysdir_name1 |
1015 | ; copying fake directory name |
1017 | ; copying fake directory name |
- | 1018 | mov ecx, 63 |
|
- | 1019 | pushfd |
|
1016 | mov ecx, 63 |
1020 | cli |
1017 | cld |
1021 | cld |
1018 | rep movsb |
1022 | rep movsb |
1019 | ; terminator of name, in case if we get the inlet trash |
1023 | ; terminator of name, in case if we get the inlet trash |
1020 | inc esi |
1024 | inc esi |
Line 1029... | Line 1033... | ||
1029 | ; increase the pointer of inputs for procedure "process_replace_file_name" |
1033 | ; increase the pointer of inputs for procedure "process_replace_file_name" |
1030 | mov [full_file_name_table.size], 2 |
1034 | mov [full_file_name_table.size], 2 |
1031 | ; block the ability to call f.30.3 because for one session is necessary |
1035 | ; block the ability to call f.30.3 because for one session is necessary |
1032 | ; for us only once |
1036 | ; for us only once |
1033 | mov [lock_flag_for_f30_3], 1 |
1037 | mov [lock_flag_for_f30_3], 1 |
- | 1038 | popfd |
|
1034 | @@: |
1039 | @@: |
1035 | ret |
1040 | ret |
Line 1036... | Line 1041... | ||
1036 | 1041 | ||
1037 | .get: |
1042 | .get: |