forked from KolibriOS/kolibrios
24 lines
732 B
C
24 lines
732 B
C
|
#define MEMSIZE 4096*20
|
|||
|
#define ENTRY_POINT #main
|
|||
|
|
|||
|
#include "../lib/fs.h"
|
|||
|
|
|||
|
void main()
|
|||
|
{
|
|||
|
RunProgram("/kolibrios/drivers/acpi/acpi", NULL);
|
|||
|
|
|||
|
pause(300);
|
|||
|
if (file_exists("/rd/1/drivers/devices.dat")) {
|
|||
|
if (GetSystemLanguage()==4) {
|
|||
|
notify("'ACPI/APIC\n/rd/1/drivers/devices.dat <20><><EFBFBD> <20>ᯥ譮 ᣥ<><E1A3A5><EFBFBD><EFBFBD><EFBFBD><E0AEA2>.\n<EFBFBD><EFBFBD>⠭<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>祭<EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 㪠<><E3AAA0><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> Readme!' -tdO");
|
|||
|
} else {
|
|||
|
notify("'ACPI/APIC\n/rd/1/drivers/devices.dat was succesfully generated.\nInstallation is not completed.\nFor the next steps please check Readme!' -tdO");
|
|||
|
}
|
|||
|
RunProgram("/sys/@open", "/kolibrios/drivers/acpi/readme.txt");
|
|||
|
} else {
|
|||
|
notify("'Error generating /rd/1/drivers/devices.dat' -E");
|
|||
|
}
|
|||
|
|
|||
|
ExitProcess();
|
|||
|
}
|