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-15 20:39:36 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-03-15 20:41:13 -0700
commit341f0c59be23e5eabee50b43608a64ebf75fd053 (patch)
tree20c4d7601925c175b3262c439b3ef16655eebc5b /mu-init.subx
parent460528e85be117ac9bbfcb79bceb6e54eceecbb7 (diff)
downloadmu-341f0c59be23e5eabee50b43608a64ebf75fd053.tar.gz
.
Diffstat (limited to 'mu-init.subx')
-rw-r--r--mu-init.subx36
1 files changed, 18 insertions, 18 deletions
diff --git a/mu-init.subx b/mu-init.subx
index 20eefbde..bf9e5b0d 100644
--- a/mu-init.subx
+++ b/mu-init.subx
@@ -8,22 +8,22 @@
 == code
 
 Entry:
-# initialize stack
-bd/copy-to-ebp 0/imm32
-# always first run tests
-(run-tests)
-(num-test-failures)  # => eax
-# call main if tests all passed
-{
-  3d/compare-eax-and 0/imm32
-  75/jump-if-!= break/disp8
-  (clear-real-screen)
-  c7 0/subop/copy *Real-screen-cursor-x 0/imm32
-  c7 0/subop/copy *Real-screen-cursor-y 0/imm32
-  (main)
-}
+  # initialize stack
+  bd/copy-to-ebp 0/imm32
+  # always first run tests
+  (run-tests)
+  (num-test-failures)  # => eax
+  # call main if tests all passed
+  {
+    3d/compare-eax-and 0/imm32
+    75/jump-if-!= break/disp8
+    (clear-real-screen)
+    c7 0/subop/copy *Real-screen-cursor-x 0/imm32
+    c7 0/subop/copy *Real-screen-cursor-y 0/imm32
+    (main)
+  }
 
-# hang indefinitely
-{
-  eb/jump loop/disp8
-}
+  # hang indefinitely
+  {
+    eb/jump loop/disp8
+  }