diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-08-09 03:33:28 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-08-09 03:33:28 +0200 |
| commit | 9776ad666f27dfcdc0a00ae10567b9be8363130f (patch) | |
| tree | be90da6a3387b3e1127815507f793fe0185b404f /kernel/shell.c | |
| parent | 670085f41e7706be51a1e99f44a637313b96419c (diff) | |
working on virtual memory manager
Diffstat (limited to 'kernel/shell.c')
| -rw-r--r-- | kernel/shell.c | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/kernel/shell.c b/kernel/shell.c index ad8011b..6839ec8 100644 --- a/kernel/shell.c +++ b/kernel/shell.c @@ -13,12 +13,6 @@ void shell_init() { pos=0; command[0]=0; - - scr_nextline(); - scr_put_string_nl("***********************"); - scr_put_string_nl("Fools Shell v 0.0.0.1 *"); - scr_put_string_nl("***********************"); - scr_nextline(); scr_put_string("Command> "); } @@ -53,36 +47,28 @@ int strcmp(char *b1, char *b2) } // TODO: EXECUTE LATER not inside INTERRUPT !!! - void shell_execute() { - scr_nextline(); - scr_put_string(" processing command: "); - scr_put_string_nl(command); + //scr_nextline(); + //scr_put_string(" processing command: "); + //scr_put_string_nl(command); if(1==strcmp(command,"TIME")) { - scr_put_string_nl(" getting sys time from kernel"); - scr_put_string(" "); scr_put_hex(timer16); - scr_put_string_nl(" seconds passed since system start."); + scr_put_string(" seconds passed since system start."); } else if(1==strcmp(command,"INT")) { - scr_put_string_nl(" getting count of unhandeled interrupts"); - scr_put_string(" "); scr_put_hex(int_unhandled); } else if(1==strcmp(command,"EIGHT")) { - scr_put_string_nl(" generating software interrupt 88"); - scr_put_string(" "); int_generate88(); - } else { - scr_put_string_nl(" unsupported command, sorry!"); + scr_put_string(" unsupported command, sorry!"); } pos=0; |
