ZealOS/HomeSys.HC

37 lines
714 B
HolyC
Raw Normal View History

2020-02-15 20:01:48 +00:00
//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 SrvStartUp()
{//Run each time a srv task is spawned.
DocTermNew;
LBts(&Fs->display_flags,DISPLAYf_SHOW);
WinToTop;
WinZBufUpdate;
}
U0 StartUpTasks()
{
CTask *user = User;
WinToTop(user);
2020-02-15 20:01:48 +00:00
WinTileVert;
"Boot Time:%7.3fs\n",tS;
XTalk(user,"Cd;#include \"Once\";\n");
Silent;//no output to scrn
2020-02-15 20:01:48 +00:00
ACInit("/*;!*/Bible.TXT*");
Silent(OFF); //no output to scrn
}
StartUpTasks;
"\nTempleOS V%5.3f\t%D %T\n\n",sys_os_version,sys_compile_time,sys_compile_time;