aboutsummaryrefslogtreecommitdiff
path: root/kernel/kernel_prelude.hats
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/kernel_prelude.hats
parent5adc7cf997d481a6afb3ed95573d6eff44cbdd5b (diff)
downloadats-os-415f75c275c991949ef7c9d2c62d07e8eba761b5.tar.xz
ats-os-415f75c275c991949ef7c9d2c62d07e8eba761b5.zip
Overloading print + cleanup
Diffstat (limited to 'kernel/kernel_prelude.hats')
-rw-r--r--kernel/kernel_prelude.hats12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/kernel_prelude.hats b/kernel/kernel_prelude.hats
new file mode 100644
index 0000000..048cba1
--- /dev/null
+++ b/kernel/kernel_prelude.hats
@@ -0,0 +1,12 @@
+#ifndef PRELUDE
+#define PRELUDE 1
+
+#include "share/atspre_staload.hats"
+
+staload "kernel/output/writer.sats"
+val () = clear_screen()
+
+staload "kernel/output/print.dats"
+
+#endif
+