Subversion Repositories Kolibri OS

Rev

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

Rev 5493 Rev 5542
Line 156... Line 156...
156
	$mov eax,70
156
	$mov eax,70
157
	$mov ebx,#write_file_70.func
157
	$mov ebx,#write_file_70.func
158
	$int 0x40
158
	$int 0x40
159
}       
159
}
Line -... Line 160...
-
 
160
 
-
 
161
//////////////////////////////////////////
-
 
162
//     WriteInFileThatAlredyExists      //
-
 
163
//////////////////////////////////////////
-
 
164
:f70 write_file_offset_70; 
-
 
165
:int WriteFileWithOffset(dword write_data_size, write_buffer, write_file_path, offset)
-
 
166
{
-
 
167
	write_file_offset_70.func = 3;
-
 
168
	write_file_offset_70.param1 = offset;
-
 
169
	write_file_offset_70.param2 = 0;
-
 
170
	write_file_offset_70.param3 = write_data_size;
-
 
171
	write_file_offset_70.param4 = write_buffer;
-
 
172
	write_file_offset_70.rezerv = 0;
-
 
173
	write_file_offset_70.name = write_file_path;
-
 
174
	$mov eax,70
-
 
175
	$mov ebx,#write_file_offset_70.func
-
 
176
	$int 0x40
-
 
177
}   
160
 
178
 
161
///////////////////////////
179
///////////////////////////
162
//    Ïðî÷èòàòü ïàïêó    //
180
//    Ïðî÷èòàòü ïàïêó    //
163
///////////////////////////
181
///////////////////////////
164
:f70 read_dir_70;
182
:f70 read_dir_70;