kolibrios-fun/programs/cmm/app_plus/added_sysdir.c
Kirill Lipatov (Leency) 0565849c3f cmm: clean up
git-svn-id: svn://kolibrios.org@8509 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-03 23:02:07 +00:00

19 lines
263 B
C

struct sysdir
{
char name[64];
char path[64];
} sysdir;
:int SetAdditionalSystemDirectory(dword tName, tPath)
{
int i;
strcpy(#sysdir.name, tName);
strcpy(#sysdir.path, tPath);
$mov eax, 30
$mov ebx, 3
ECX = #sysdir;
$int 0x40
}