Download Demo/OnceDemo.txt from hschumann2/TempleOS-Source-Code: direct link, hf CLI and curl.
- Browser
- Download file 221 Bytes
-
https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Demo/OnceDemo.txt
- Command line
-
hf download hf://datasets/hschumann2/TempleOS-Source-Code/Demo/OnceDemo.txt
-
curl -L -o OnceDemo.txt https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Demo/OnceDemo.txt
221 Bytes
| U0 OnceDemo() | |
| {//Set code to execute next reboot. | |
| Once("Beep;"); | |
| Once("Dir;"); //You can issue multiple and they get queued. | |
| "Reboot "; | |
| if (YorN) | |
| BootRAM; | |
| } | |
| OnceDemo; | |
| //There are variants for adam AOnce(). | |