Added code to get the consoles to be split into their own
Fixed issue where exiting a shell would not close the parent console properly Changed the way the consoles are linked to the processes by making it a pointer to the console Added all the console changes for the above Added a slow maze drawing program similar to the c64 version
This commit is contained in:
7
defs.h
7
defs.h
@ -22,11 +22,12 @@ void cprintf(char*, ...);
|
||||
void consoleintr(int (*)(void));
|
||||
int consoleget(void);
|
||||
void panic(char*) __attribute__((noreturn));
|
||||
int newconsole(void);
|
||||
int switchtoconsole(int consoleindex);
|
||||
int closeconsole(int consoleindex);
|
||||
struct vconsole* newconsole(void);
|
||||
int switchtoconsole(struct vconsole*);
|
||||
int closeconsole(void);
|
||||
int getcurrentconsoleindex(void);
|
||||
void clearscreen(void);
|
||||
struct vconsole* getbaseconsoleptr(void);
|
||||
|
||||
// exec.c
|
||||
int exec(char*, char**);
|
||||
|
Reference in New Issue
Block a user