CoolFace
Datasetpublic

hschumann2/TempleOS-Source-Code

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes838downloads
StartOS.txt48 linesDownload Raw Back to root
1 2//This is executed by the Adam task at boot.3//See Adam Start-up.4 5#help_index "Compiler/Directive"6public extern I8i Option(I64i num,I8i val);7Option(0,0); //(0,0)=EchoOff   (0,1)=EchoOn8 9#include "/Kernel/KernelA.HH"10#include "/Compiler/CompilerA.HH"11#include "/Kernel/KernelB.HH"12#include "/Kernel/KernelC.HH"13#include "/Compiler/CompilerB.HH"14 15Option(OPTf_WARN_PAREN,ON);16Option(OPTf_WARN_DUP_TYPES,ON);17HashTablePurge(adam_task->hash_table);18 19#include "/Adam/MakeAdam"20 21//Dbg("Type 'G;'");22DocTermNew;23WinVert(2,10);24 25sys_winmgr_task=Spawn(&WinMgrTask,NULL,"Window Mgr");26Fs->win_inhibit=WIG_TASK_DFT-WIF_SELF_BORDER27        -WIF_SELF_GRAB_SCROLL-WIF_SELF_CTRLS;28LBts(&Fs->display_flags,DISPLAYf_CHILDREN_NOT_ON_TOP);29LBts(&Fs->display_flags,DISPLAYf_SHOW);30RegInit;31LBts(&sys_run_level,RLf_REGISTRY);32if (!ins_reg.registered)33  InsUnreg;34 35WallPaperInit;36 37if (DrvIsWritable)38  DirMk("/Tmp"); //Good to have a Tmp39 40Option(OPTf_WARN_PAREN,OFF);41Option(OPTf_WARN_DUP_TYPES,OFF);42LBts(&sys_run_level,RLf_HOME);43 44#help_index ""45#include "~/MakeHome"46 47//After this file, the Adam task enters server mode.48