about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-10-09 21:10:14 -0700
committerKartik Agaram <vc@akkartik.com>2020-10-09 21:10:14 -0700
commiteb2cccccebe6e396e929a49e08515d3ecea9b0fc (patch)
tree4b0af0f4ba1c8701c2b0eccaa24f7904765bb17b /apps
parent0c465d1dcca6dceb9ca431feba4a193473565047 (diff)
downloadmu-eb2cccccebe6e396e929a49e08515d3ecea9b0fc.tar.gz
6976
Diffstat (limited to 'apps')
-rw-r--r--apps/tile/environment.mu8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu
index a2302d6a..2355ca80 100644
--- a/apps/tile/environment.mu
+++ b/apps/tile/environment.mu
@@ -334,7 +334,7 @@ fn render-line screen: (addr screen), functions: (addr handle function), binding
         var word-len/eax: int <- word-length curr-word
         curr-col <- add word-len
         curr-col <- add 2
-        add-to top-row, 1
+        increment top-row
       }
       # obtain stack at call site
       var stack-storage: value-stack
@@ -362,10 +362,10 @@ fn render-line screen: (addr screen), functions: (addr handle function), binding
       print-code-point screen, 0x21d7  # ⇗
       #
       curr-col <- add 2
-      subtract-from top-row, 1
+      decrement top-row
     }
     # debug info: print word index
-#?     subtract-from top-row, 1
+#?     decrement top-row
 #?       move-cursor screen, top-row, curr-col
 #?       start-color screen, 8, 7
 #?         {
@@ -373,7 +373,7 @@ fn render-line screen: (addr screen), functions: (addr handle function), binding
 #?           print-int32-hex-bits screen, word-index-val, 4
 #?         }
 #?       reset-formatting screen
-#?     add-to top-row, 1
+#?     increment top-row
     # now render main column
     curr-col <- render-column screen, functions, bindings, line, curr-word, top-row, curr-col, cursor-word, cursor-col-a
     var next-word-ah/edx: (addr handle word) <- get curr-word, next
itter Kartik K. Agaram <vc@akkartik.com> 2016-09-17 00:43:20 -0700 3380' href='/akkartik/mu/commit/nqueens.mu?h=hlt&id=192d59d3bb9ee0baa1afd82cb5d0f352bdc6e403'>192d59d3 ^
7890b8ce ^


192d59d3 ^
7890b8ce ^


192d59d3 ^
7890b8ce ^
9458918f ^
7890b8ce ^


9458918f ^
7890b8ce ^
93c9862f ^

7890b8ce ^
93c9862f ^
7890b8ce ^





9458918f ^
7890b8ce ^

9458918f ^
f116818c ^
9458918f ^
f116818c ^
7890b8ce ^

9458918f ^
7890b8ce ^

192d59d3 ^
7890b8ce ^


192d59d3 ^
9458918f ^
f116818c ^
7890b8ce ^


f116818c ^
7890b8ce ^

9458918f ^
7890b8ce ^

192d59d3 ^

7890b8ce ^


192d59d3 ^



7890b8ce ^

9458918f ^
f116818c ^
7890b8ce ^


f116818c ^
7890b8ce ^
760f683f ^




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99