Files
TempleOS-Rijn/HomeSys.CPP
T
2018-09-08 21:46:29 +02:00

39 lines
746 B
C++

//Place this file in /Home and change
//anything you want.
U0 UserStartUp()
{//Run each time a user a spawned
DocTermNew;
Type("::/Doc/Start.TXT");
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 *user1,*user2;
user1=User;
user2=User;
WinToTop(user1);
WinTileVert;
"Boot Time:%7.3fs\n",tS;
XTalk(user1,"Cd(\"::/Home\");#include \"DoOnce\";\n");
Silent; //no output to screen
ACInit("/*;~*Bible.TXT*");
Silent(OFF); //no output to screen
}
StartUpTasks;
"\nOS Compile Time:%D %T\n",sys_compile_time,sys_compile_time;