mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-01-19 10:46:03 +00:00
9139a360f6
Fix PCIRep graphics hang on bare-metal. Fix XTalk buffer formatting in StartUpTasks, PopUpFile, PopUpRunFile, and EdCodeTools2. Add CBGR32 to Kernel headers.
43 lines
915 B
HolyC
Executable file
43 lines
915 B
HolyC
Executable file
//Place this file in /Home and change
|
|
//anything you want.
|
|
|
|
U0 UserStartUp()
|
|
{//Run each time a user a spawned
|
|
DocTermNew;
|
|
Type("::/Doc/Start.DD");
|
|
LBts(&Fs->display_flags, DISPLAYf_SHOW);
|
|
WinToTop;
|
|
WinZBufUpdate;
|
|
Dir;
|
|
}
|
|
|
|
U0 ServerStartUp()
|
|
{//Run each time a server task is spawned.
|
|
DocTermNew;
|
|
LBts(&Fs->display_flags, DISPLAYf_SHOW);
|
|
WinToTop;
|
|
WinZBufUpdate;
|
|
}
|
|
|
|
U0 StartUpTasks()
|
|
{
|
|
CTask *user = User;
|
|
|
|
if (sys_boot_src.u16[0] != BOOT_SRC_DVD)
|
|
User;
|
|
|
|
WinToTop(user);
|
|
WinTileVert;
|
|
"Boot Time:%7.3fs\n", tS;
|
|
XTalk(user, "Cd; #include \"Once\";\n");
|
|
Silent; //no output to screen
|
|
ACInit("/*;!*/Bible.TXT;!*/Clementine.TXT;!*/PCIDevices.DD;!*/HTML/*;!*/ChangeLog.DD");
|
|
Silent(OFF); //no output to screen
|
|
|
|
if (sys_boot_src.u16[0] != BOOT_SRC_RAM)
|
|
PopUp("ExeFile2(\"::/System/ZSplash.CC\");");
|
|
}
|
|
|
|
StartUpTasks;
|
|
|
|
"\nZealOS V%0.2f\t%D %T\n\n", sys_os_version, sys_compile_time, sys_compile_time;
|