aboutsummaryrefslogtreecommitdiff
path: root/os/commands/echo.c
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2019-10-06 15:53:52 +0100
committerJames Barnett <noreply@jamesbarnett.xyz>2019-10-06 15:53:52 +0100
commite77b371fb0fc4e62fa727a340b2e322fa60ebcff (patch)
tree78a278b63831a856e8d39bace88d12bb3a5a9b60 /os/commands/echo.c
parent64aa82592c6c2b043d8c62100d4ce110bf616c1e (diff)
downloadtinyOS-e77b371fb0fc4e62fa727a340b2e322fa60ebcff.tar.xz
tinyOS-e77b371fb0fc4e62fa727a340b2e322fa60ebcff.zip
Add command parsing and echo commandadd-shell
Diffstat (limited to 'os/commands/echo.c')
-rw-r--r--os/commands/echo.c5
1 files changed, 5 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