aboutsummaryrefslogtreecommitdiff
path: root/kernel/main.dats
diff options
context:
space:
mode:
authorXander <xander@icth.xyz>2023-07-03 15:27:49 +0200
committerXander <xander@icth.xyz>2023-07-03 15:27:49 +0200
commit5adc7cf997d481a6afb3ed95573d6eff44cbdd5b (patch)
tree08d1c1749d3ee16d1b7e2ee6ee0b820d3f351b0d /kernel/main.dats
parent4c7934102bea39f002f637ebf12863bf99dd99a7 (diff)
downloadats-os-5adc7cf997d481a6afb3ed95573d6eff44cbdd5b.tar.xz
ats-os-5adc7cf997d481a6afb3ed95573d6eff44cbdd5b.zip
Added clear screen function
Diffstat (limited to 'kernel/main.dats')
-rw-r--r--kernel/main.dats3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/main.dats b/kernel/main.dats
index dfbaa49..bbd201a 100644
--- a/kernel/main.dats
+++ b/kernel/main.dats
@@ -4,6 +4,7 @@ staload "kernel/writer.sats"
dynload "kernel/writer.dats"
implement main0 () = (
- put_string(" Hello world\n");
+ clear_screen();
+ put_string("Hello world\n");
put_string("GOEIENDSG\n");
put_string("GOEIENDSG"))