aboutsummaryrefslogtreecommitdiff
path: root/kernel/main.dats
diff options
context:
space:
mode:
authorXander <xander@icth.xyz>2023-07-04 13:26:09 +0200
committerXander <xander@icth.xyz>2023-07-04 13:26:09 +0200
commit415f75c275c991949ef7c9d2c62d07e8eba761b5 (patch)
treef52ea1c30e179b717ca10c6d170b723e3c5132c6 /kernel/main.dats
parent5adc7cf997d481a6afb3ed95573d6eff44cbdd5b (diff)
downloadats-os-415f75c275c991949ef7c9d2c62d07e8eba761b5.tar.xz
ats-os-415f75c275c991949ef7c9d2c62d07e8eba761b5.zip
Overloading print + cleanup
Diffstat (limited to 'kernel/main.dats')
-rw-r--r--kernel/main.dats12
1 files changed, 4 insertions, 8 deletions
diff --git a/kernel/main.dats b/kernel/main.dats
index bbd201a..0a325ff 100644
--- a/kernel/main.dats
+++ b/kernel/main.dats
@@ -1,10 +1,6 @@
-#include "share/atspre_staload.hats"
-
-staload "kernel/writer.sats"
-dynload "kernel/writer.dats"
+#include "kernel/kernel_prelude.hats"
implement main0 () = (
- clear_screen();
- put_string("Hello world\n");
- put_string("GOEIENDSG\n");
- put_string("GOEIENDSG"))
+ println!("Hello World");
+ println!("Hello World");
+)