Subversion Repositories Kolibri OS

Compare Revisions

Ignore whitespace Rev 6979 → Rev 6980

/programs/cmm/lib/copyf.h
41,10 → 41,10
{
debugln("Error: CopyFile->GetFileInfo");
}
else if (GetFreeRAM() < CopyFile_atr.sizelo)
else if (GetFreeRAM()-1024*1024 < CopyFile_atr.sizelo) //GetFreeRam-1Mb and convert to bytes
{
debugln("Error: CopyFile->File size is bigger than RAM avilable");
error = 30;
debugln("Error: CopyFile->File size is bigger than RAM avilable");
error = 30;
}
else {
cbuf = malloc(CopyFile_atr.sizelo);
/programs/cmm/lib/kolibri.h
133,7 → 133,7
$mov eax, 18
$mov ebx, 16
$int 0x40
//return eax = ðàçìåð ñâîáîäíîé ïàìÿòè â êèëîáàéòàõ
//return eax = free RAM in Kb
}
 
inline fastcall dword LoadDriver(ECX) //ECX - èìÿ äðàéâåðà