Download Demo/DbgDemo.txt from hschumann2/TempleOS-Source-Code: direct link, hf CLI and curl.
- Browser
- Download file 295 Bytes
-
https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Demo/DbgDemo.txt
- Command line
-
hf download hf://datasets/hschumann2/TempleOS-Source-Code/Demo/DbgDemo.txt
-
curl -L -o DbgDemo.txt https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Demo/DbgDemo.txt
295 Bytes
| /* | |
| Press <CTRL-ALT-c> to break. | |
| Rerun Program | |
| Press <CTRL-ALT-d> to enter Dbg. | |
| > Dr; //Dump Regs | |
| > G2; //Cont program | |
| Press <CTRL-ALT-d> to enter Dbg. | |
| > Uf("DbgDemo"); | |
| > U(_RIP); | |
| See Debugging | |
| */ | |
| U0 DbgDemo() | |
| { | |
| I64 i=0; | |
| while (TRUE) | |
| if (!(i++%2000000)) | |
| "."; | |
| } | |
| DbgDemo; | |