about summary refs log tree commit diff stats
path: root/ex5.mu
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 /ex5.mu
parent9818f1de981fe9206940cf89e9422388f8853cc2 (diff)
downloadmu-7bf8adb893dcc524c7f1bc5e8f984385c9138d7d.tar.gz
explicitly pass data disk to main
Diffstat (limited to 'ex5.mu')
-rw-r--r--ex5.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/ex5.mu b/ex5.mu
index 90bcac2f..6f776d16 100644
--- a/ex5.mu
+++ b/ex5.mu
@@ -10,7 +10,7 @@
 #
 # Expected output: text in green near the top-left corner of screen
 
-fn main screen: (addr screen), keyboard: (addr keyboard) {
+fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk) {
   var dummy/eax: int <- draw-text-rightward screen, "hello from baremetal Mu!", 0x10/x, 0x400/xmax, 0x10/y, 0xa/fg, 0/bg
   dummy <- draw-text-rightward screen, "you shouldn't see this", 0x10/x, 0xa0/xmax, 0x30/y, 3/fg, 0/bg  # xmax is too narrow
 }