about summary refs log tree commit diff stats
path: root/ex6.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 /ex6.mu
parent9818f1de981fe9206940cf89e9422388f8853cc2 (diff)
downloadmu-7bf8adb893dcc524c7f1bc5e8f984385c9138d7d.tar.gz
explicitly pass data disk to main
Diffstat (limited to 'ex6.mu')
-rw-r--r--ex6.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/ex6.mu b/ex6.mu
index 64607678..16aa34eb 100644
--- a/ex6.mu
+++ b/ex6.mu
@@ -9,7 +9,7 @@
 #
 # Expected output: a box and text that doesn't overflow it
 
-fn main screen: (addr screen), keyboard: (addr keyboard) {
+fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk) {
   # drawing text within a bounding box
   draw-box-on-real-screen 0xf, 0x1f, 0x79, 0x51, 0x4
   var x/eax: int <- copy 0x20