about summary refs log tree commit diff stats
path: root/tutorial/task1.mu
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/task1.mu')
-rw-r--r--tutorial/task1.mu9
1 files changed, 8 insertions, 1 deletions
diff --git a/tutorial/task1.mu b/tutorial/task1.mu
index 37bcb547..5b57f4f0 100644
--- a/tutorial/task1.mu
+++ b/tutorial/task1.mu
@@ -1,3 +1,10 @@
-fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk) {
+# Draw a single line of ASCII text.
+#
+# To build a disk image:
+#   ./translate tutorial/task1.mu        # emits code.img
+# To run:
+#   qemu-system-i386 code.img
+
+fn main screen: (addr screen) {
   var dummy/eax: int <- draw-text-rightward screen, "hello from baremetal Mu!", 0x10/x, 0x400/xmax, 0x10/y, 0xa/fg, 0/bg
 }