Team Ai
Datasetpublic

hschumann2/TempleOS-Source-Code

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes847downloads
HomeSys.txt49 linesDownload Raw Back to AcctExample
1 2//Place this file in /Home and change3//anything you want.4 5U0 UserStartUp()6{//Run each time a user a spawned7  DocTermNew;8  Type("::/Doc/Start.DD");9  LBts(&Fs->display_flags,DISPLAYf_SHOW);10  WinToTop;11  WinZBufUpdate;12  Dir;13  "82,157LOC:";14  CPURep;15}16 17U0 SrvStartUp()18{//Run each time a srv task is spawned.19  DocTermNew;20  LBts(&Fs->display_flags,DISPLAYf_SHOW);21  WinToTop;22  WinZBufUpdate;23}24 25CTask *user1,*user2;26 27U0 StartUpTasks()28{29  user1=User;30  user2=User;31  WinToTop(user1);32  WinTileVert;33  "Boot     Time:%7.3fs\n",tS;34  XTalk(user1,"Cd;#include \"Once\";\n");35  Silent;36  ACInit("/*;!*/Bible.TXT*;!*.TXT"); //No Bible, no uncompressed DD.37  Silent(OFF);38  "AutoComplete Time:%7.3fs\n",tS;39}40 41if (DrvIsWritable(':')) {42  DelTree("::/Tmp/ScrnShots");43  DirMk("::/Tmp/ScrnShots");44}45 46StartUpTasks;47 48"\nTempleOS V%5.3f\t%D %T\n\n",sys_os_version,sys_compile_time,sys_compile_time;49