about summary refs log tree commit diff stats
path: root/mu-init.subx
diff options
context:
space:
mode:
Diffstat (limited to 'mu-init.subx')
-rw-r--r--mu-init.subx6
1 files changed, 4 insertions, 2 deletions
diff --git a/mu-init.subx b/mu-init.subx
index bf9e5b0d..399a9a3f 100644
--- a/mu-init.subx
+++ b/mu-init.subx
@@ -2,7 +2,9 @@
 #
 # See translate for how this file is used.
 #
-# Mu programs start at a function called 'main' without inouts or outputs.
+# Mu programs start at a function called 'main' with this signature:
+#   fn main screen: (addr screen), keyboard: (addr keyboard)
+#
 # All tests must pass first (the "power-on unit test").
 
 == code
@@ -20,7 +22,7 @@ Entry:
     (clear-real-screen)
     c7 0/subop/copy *Real-screen-cursor-x 0/imm32
     c7 0/subop/copy *Real-screen-cursor-y 0/imm32
-    (main)
+    (main 0 0)
   }
 
   # hang indefinitely