about summary refs log tree commit diff stats
path: root/mu-init.subx
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-03-27 17:47:23 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-03-27 17:50:44 -0700
commit7bf8adb893dcc524c7f1bc5e8f984385c9138d7d (patch)
tree7ae60840d8cb0356cee7a76cfd3c15bb5de4e58c /mu-init.subx
parent9818f1de981fe9206940cf89e9422388f8853cc2 (diff)
downloadmu-7bf8adb893dcc524c7f1bc5e8f984385c9138d7d.tar.gz
explicitly pass data disk to main
Diffstat (limited to 'mu-init.subx')
-rw-r--r--mu-init.subx4
1 files changed, 2 insertions, 2 deletions
diff --git a/mu-init.subx b/mu-init.subx
index 399a9a3f..08a8856e 100644
--- a/mu-init.subx
+++ b/mu-init.subx
@@ -3,7 +3,7 @@
 # See translate for how this file is used.
 #
 # Mu programs start at a function called 'main' with this signature:
-#   fn main screen: (addr screen), keyboard: (addr keyboard)
+#   fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk)
 #
 # All tests must pass first (the "power-on unit test").
 
@@ -22,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 0 0)
+    (main 0 0 Primary-bus-secondary-drive)
   }
 
   # hang indefinitely