Add: brainfuck interpreter; documentation; uptime
This commit is contained in:
@@ -21,7 +21,7 @@ void shell_install()
|
||||
}
|
||||
else if (strcmp(input_buffer, "help") == 0)
|
||||
{
|
||||
printf("help\tpanic\twords\tprimes\trainbow\tclear\nmath\n");
|
||||
printf("help\tpanic\twords\tprimes\trainbow\tclear\nmath\tbf\tuptime\n");
|
||||
}
|
||||
else if (strcmp(input_buffer, "panic") == 0)
|
||||
{
|
||||
@@ -47,6 +47,14 @@ void shell_install()
|
||||
{
|
||||
program_math();
|
||||
}
|
||||
else if (strcmp(input_buffer, "bf") == 0)
|
||||
{
|
||||
program_bf();
|
||||
}
|
||||
else if (strcmp(input_buffer, "uptime") == 0)
|
||||
{
|
||||
program_uptime();
|
||||
}
|
||||
else {
|
||||
printf("Unknown command %s\n", input_buffer);
|
||||
}
|
||||
|
||||
@@ -22,6 +22,7 @@ void delay(int ticks);
|
||||
void keyboard_install();
|
||||
char keyboard_getchar();
|
||||
void shell_install();
|
||||
int uptime();
|
||||
|
||||
extern volatile unsigned long global_ticks;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user