diff options
| author | James Barnett <noreply@jamesbarnett.xyz> | 2019-10-06 15:53:52 +0100 |
|---|---|---|
| committer | James Barnett <noreply@jamesbarnett.xyz> | 2019-10-06 15:53:52 +0100 |
| commit | e77b371fb0fc4e62fa727a340b2e322fa60ebcff (patch) | |
| tree | 78a278b63831a856e8d39bace88d12bb3a5a9b60 /os/commands | |
| parent | 64aa82592c6c2b043d8c62100d4ce110bf616c1e (diff) | |
| download | tinyOS-add-shell.tar.xz tinyOS-add-shell.zip | |
Add command parsing and echo commandadd-shell
Diffstat (limited to 'os/commands')
| -rw-r--r-- | os/commands/echo.c | 5 | ||||
| -rw-r--r-- | os/commands/echo.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/os/commands/echo.c b/os/commands/echo.c new file mode 100644 index 0000000..669003e --- /dev/null +++ b/os/commands/echo.c @@ -0,0 +1,5 @@ +#include "../../kernel/gpu/text_mode/display.h" + +void echo(char *args) { + scrn_println(args); +}
\ No newline at end of file diff --git a/os/commands/echo.h b/os/commands/echo.h new file mode 100644 index 0000000..db62a4f --- /dev/null +++ b/os/commands/echo.h @@ -0,0 +1 @@ +void echo(char *args);
\ No newline at end of file |