Rev 2568 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2568 | Rev 2661 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | dword sizehi; |
24 | dword sizehi; |
25 | char name[518]; |
25 | char name[518]; |
26 | }; |
26 | }; |
Line 27... | Line 27... | ||
27 | 27 | ||
- | 28 | //////////////////////////// |
|
- | 29 | // Ñîçäàòü ôàéë // |
|
- | 30 | //////////////////////////// |
|
- | 31 | /*f70 create_file_70; |
|
- | 32 | void CreateFile(dword file_size, read_buffer, file_path) |
|
- | 33 | { |
|
- | 34 | create_file_70.func = 2; |
|
- | 35 | create_file_70.param1 = 0; |
|
- | 36 | create_file_70.param2 = 0; |
|
- | 37 | create_file_70.param3 = file_size; |
|
- | 38 | create_file_70.param4 = read_buffer; |
|
- | 39 | create_file_70.rezerv = 0; |
|
- | 40 | create_file_70.name = file_path; |
|
- | 41 | $mov eax,70 |
|
- | 42 | $mov ebx,#create_file_70.func |
|
- | 43 | $int 0x40 |
|
- | 44 | } */ |
|
- | 45 | ||
28 | //////////////////////////// |
46 | //////////////////////////// |
29 | // ³ðî÷èòàòü ôàéë // |
47 | // Ïðî÷èòàòü ôàéë // |
30 | //////////////////////////// |
48 | //////////////////////////// |
31 | f70 read_file_70; |
49 | f70 read_file_70; |
32 | void ReadFile(dword pos, file_size, read_buffer, file_path) |
50 | void ReadFile(dword pos, file_size, read_buffer, file_path) |
33 | { |
51 | { |
Line 42... | Line 60... | ||
42 | $mov ebx,#read_file_70.func |
60 | $mov ebx,#read_file_70.func |
43 | $int 0x40 |
61 | $int 0x40 |
44 | } |
62 | } |
Line 45... | Line 63... | ||
45 | 63 | ||
46 | /////////////////////////// |
64 | /////////////////////////// |
47 | // ³ðî÷èòàòü ïàïêó // |
65 | // Ïðî÷èòàòü ïàïêó // |
48 | /////////////////////////// |
66 | /////////////////////////// |
49 | f70 read_dir_70; |
67 | f70 read_dir_70; |
50 | int ReadDir(dword file_count, read_buffer, read_dir_path) |
68 | int ReadDir(dword file_count, read_buffer, read_dir_path) |
51 | { |
69 | { |
Line 60... | Line 78... | ||
60 | $mov ebx,#read_dir_70.func |
78 | $mov ebx,#read_dir_70.func |
61 | $int 0x40 |
79 | $int 0x40 |
62 | } |
80 | } |
Line 63... | Line 81... | ||
63 | 81 | ||
64 | /////////////////////////// |
82 | /////////////////////////// |
65 | // ³àïóñê ïðîãðàììv // |
83 | // Çàïóñê ïðîãðàììv // |
66 | /////////////////////////// |
84 | /////////////////////////// |
67 | f70 run_file_70; |
85 | f70 run_file_70; |
68 | int RunProgram(dword run_path, run_param) |
86 | int RunProgram(dword run_path, run_param) |
69 | { |
87 | { |
Line 78... | Line 96... | ||
78 | $mov ebx,#run_file_70.func |
96 | $mov ebx,#run_file_70.func |
79 | $int 0x40 |
97 | $int 0x40 |
80 | } |
98 | } |
Line 81... | Line 99... | ||
81 | 99 | ||
82 | /////////////////////////// |
100 | /////////////////////////// |
83 | // Tîçäàíèå ïàïêè // |
101 | // Ñîçäàíèå ïàïêè // |
84 | /////////////////////////// |
102 | /////////////////////////// |
85 | f70 create_dir_70; |
103 | f70 create_dir_70; |
86 | int CreateFolder(dword new_folder_path) |
104 | int CreateFolder(dword new_folder_path) |
87 | { |
105 | { |
Line 96... | Line 114... | ||
96 | $mov ebx,#create_dir_70.func |
114 | $mov ebx,#create_dir_70.func |
97 | $int 0x40 |
115 | $int 0x40 |
98 | } |
116 | } |
Line 99... | Line 117... | ||
99 | 117 | ||
100 | //////////////////////////// |
118 | //////////////////////////// |
101 | // Läàëåíèå ôàéëà/ïàïêè // |
119 | // Óäàëåíèå ôàéëà/ïàïêè // |
102 | //////////////////////////// |
120 | //////////////////////////// |
103 | f70 del_file_70; |
121 | f70 del_file_70; |
104 | int DeleleFile(dword del_file_path) |
122 | int DeleleFile(dword del_file_path) |
105 | { |
123 | { |
Line 114... | Line 132... | ||
114 | $mov ebx,#del_file_70.func |
132 | $mov ebx,#del_file_70.func |
115 | $int 0x40 |
133 | $int 0x40 |
116 | } |
134 | } |
Line 117... | Line 135... | ||
117 | 135 | ||
118 | /////////////////////////// |
136 | /////////////////////////// |
119 | // Têîïèðîâàòü ôàéë // |
137 | // Ñêîïèðîâàòü ôàéë // |
120 | /////////////////////////// |
138 | /////////////////////////// |
121 | f70 CopyFile_f; |
139 | f70 CopyFile_f; |
122 | inline fastcall int CopyFile(dword EBX,ECX) |
140 | inline fastcall int CopyFile(dword EBX,ECX) |
123 | { |
141 | { |