Download Adam/TaskRep.txt from hschumann2/TempleOS-Source-Code: direct link, hf CLI and curl.
- Browser
- Download file 800 Bytes
-
https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Adam/TaskRep.txt
- Command line
-
hf download hf://datasets/hschumann2/TempleOS-Source-Code/Adam/TaskRep.txt
-
curl -L -o TaskRep.txt https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Adam/TaskRep.txt
800 Bytes
| #help_index "Info;Task" | |
| U0 TaskRepTask(CTask *task,I64 indent) | |
| { | |
| CTask *task1; | |
| "%h*c$MA,T=\"%08X\",LM=\"Kill(0x%X);\n\",$ $BLACK$#%d$FG$ " | |
| "$TX,\"%$Q...\",SCX=16$\n",indent,CH_SPACE,task,task,task->task_num, | |
| task->task_title; | |
| "%h*c%08X %04X:%04X:%08X\n",indent+2,CH_SPACE,TaskMemAlloced(task), | |
| task->task_flags,task->display_flags,task->win_inhibit; | |
| task1=task->next_child_task; | |
| while (task1!=(&task->next_child_task)(U8 *) | |
| -offset(CTask.next_sibling_task)) { | |
| TaskRepTask(task1,indent+2); | |
| task1=task1->next_sibling_task; | |
| } | |
| } | |
| public U0 TaskRep() | |
| {//Report current tasks on all cores. | |
| I64 i; | |
| CCPU *c; | |
| PUSHFD | |
| CLI | |
| for (i=0;i<mp_cnt;i++) { | |
| c=&cpu_structs[i]; | |
| "$PURPLE$CPU%02X$FG$\n",i; | |
| TaskRepTask(c->seth_task,2); | |
| } | |
| POPFD | |
| } | |