2010-10-17 21:50:55 +02:00
|
|
|
|
|
|
|
int program_run(char cmd[], char param[])
|
|
|
|
{
|
|
|
|
|
2020-04-15 00:21:16 +02:00
|
|
|
kol_struct70 k70;
|
2010-10-17 21:50:55 +02:00
|
|
|
|
2020-04-15 00:21:16 +02:00
|
|
|
k70.p00 = 7;
|
|
|
|
k70.p04 = 0;
|
|
|
|
//k70.p08 = (unsigned) param;
|
|
|
|
*((unsigned*)&k70 + 2) = (unsigned) param;
|
|
|
|
k70.p12 = 0;
|
|
|
|
k70.p16 = 0;
|
|
|
|
k70.p20 = 0;
|
|
|
|
k70.p21 = cmd;
|
2010-10-17 21:50:55 +02:00
|
|
|
|
2020-04-15 00:21:16 +02:00
|
|
|
return kol_file_70(&k70);
|
2010-10-17 21:50:55 +02:00
|
|
|
}
|
2013-02-17 16:22:51 +01:00
|
|
|
|