Download Once.txt from hschumann2/TempleOS-Source-Code: direct link, hf CLI and curl.
- Browser
- Download file 1.19 kB
-
https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Once.txt
- Command line
-
hf download hf://datasets/hschumann2/TempleOS-Source-Code/Once.txt
-
curl -L -o Once.txt https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Once.txt
1.19 kB
| //Place this file in /Home and change | |
| //anything you want. | |
| //This file is executed by the | |
| //first terminal window upon start-up. | |
| //See Once and Home Files. | |
| //Delete the rest from this file. | |
| U0 Tmp() | |
| { | |
| OnceExe; | |
| switch (sys_boot_src.u16[0]) { | |
| case BOOT_SRC_ROM: | |
| "Continue booting hard drive "; | |
| if (YorN) { | |
| DocBottom; | |
| ExeFile("C:/Home/Once"); | |
| } | |
| break; | |
| case BOOT_SRC_DVD: | |
| "\nIf you answer 'No' you can play with\n" | |
| "the live CD without installing.\n\n" | |
| "Install onto hard drive "; | |
| if (YorN) { | |
| DocBottom; | |
| RunFile("::/Misc/OSInstall",,TRUE); | |
| } | |
| if (FileFind("::/Misc/Tour")) { | |
| "\nTake Tour"; | |
| if (YorN) { | |
| DocBottom; | |
| Cd("::/Misc/Tour"); | |
| InFile("Tour"); | |
| } | |
| } | |
| break; | |
| case BOOT_SRC_RAM: | |
| case BOOT_SRC_HARDDRV: | |
| "$PURPLE$$TX+CX,\"Tip of the Day\"$$FG$\n"; | |
| TipOfDay; | |
| Type("::/Doc/Customize.DD"); | |
| if (FileFind("::/Misc/Tour")) { | |
| "\nTake Tour"; | |
| if (YorN) { | |
| DocBottom; | |
| Cd("::/Misc/Tour"); | |
| InFile("Tour"); | |
| } | |
| } | |
| break; | |
| } | |
| } | |
| Tmp; | |