Added draw menu, vars and additional functions needed for it
Added some functionality to the procdump to show the current console and parent pids of processes for debugging Added var to clearconsole that enables the internal lock if one wasnt prelocked before hand Fixed issue where race conditions would stop the title from drawing by drawing it to the buffer too Fixed issue where the maze function was spamming the conswrite and cons lock by changing it to send an entire line instead of 1 char at a time
This commit is contained in:
@ -98,7 +98,7 @@ int sys_greeting(void)
|
||||
cprintf("Using Console: %d\n", getcurrentconsoleindex());
|
||||
cprintf("Current PID: %d\n", myproc()->pid);
|
||||
cprintf("Current Parent PID: %d\n", myproc()->parent->pid);
|
||||
//cprintf("Process Console: %d\n", myproc()->consoleptr->consoleindex);
|
||||
cprintf("Process Console: %d\n", getconsoleindex(myproc()->consoleptr));
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -154,6 +154,6 @@ int sys_screen(void)
|
||||
|
||||
int sys_cls(void)
|
||||
{
|
||||
clearscreen();
|
||||
clearscreen(0);
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user