Files
TempleOS-Rijn/TempleOS/Accts/Install/Adam3fSys.CPP
T
2018-09-08 21:45:52 +02:00

40 lines
807 B
C++

//Change anything you want in this
//acct file or others.
U0 UserStartUp()
{ //Run each time a user a spawned
UseTermDoc;
Type("::/TempleOS/Doc/Start.TXT");
LBts(&Fs->display_flags,DISPLAYf_SHOW);
WinZBufUpdate;
if (!IsSysDeterministic)
Preempt(ON);
}
U0 SrvStartUp()
{ //Run each time a srv task is spawned.
UseTermDoc;
LBts(&Fs->display_flags,DISPLAYf_SHOW);
WinZBufUpdate;
if (!IsSysDeterministic)
Preempt(ON);
}
U0 StartUpTasks()
{
CTask *user1,*user2;
user1=SpawnUser;
user2=SpawnUser;
WinToTop(user1);
WinTileVert;
"Boot Time:%7.3fs\n",tS;
XTalk(user1,"Cd(\"HOME\");#include \"DoItOnce\";\n");
Silent(ON); //no output to screen
WSInit;
Silent(OFF); //no output to screen
}
StartUpTasks;
"\nOS Compile Time:%D %T\n",sys_compile_time,sys_compile_time;