From c626219e3f5a44dfa7ddeba32627f4824ec965a4 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 5 Oct 2020 20:37:47 -0700 Subject: 6961 --- apps/tile/environment.mu | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'apps/tile') diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu index 6f648ebb..c4764c92 100644 --- a/apps/tile/environment.mu +++ b/apps/tile/environment.mu @@ -189,14 +189,16 @@ fn evaluate-environment _env: (addr environment), stack: (addr value-stack) { fn render _env: (addr environment) { var env/esi: (addr environment) <- copy _env clear-canvas env - var screen-ah/edi: (addr handle screen) <- get env, screen + # screen + var screen-ah/eax: (addr handle screen) <- get env, screen var _screen/eax: (addr screen) <- lookup *screen-ah var screen/edi: (addr screen) <- copy _screen - var _repl-col/ecx: (addr int) <- get env, code-separator-col + # repl-col + var _repl-col/eax: (addr int) <- get env, code-separator-col var repl-col/ecx: int <- copy *_repl-col repl-col <- add 2 # repl-margin-left # cursor-word - var cursor-word-ah/ebx: (addr handle word) <- get env, cursor-word + var cursor-word-ah/eax: (addr handle word) <- get env, cursor-word var _cursor-word/eax: (addr word) <- lookup *cursor-word-ah var cursor-word/ebx: (addr word) <- copy _cursor-word # program @@ -206,7 +208,7 @@ fn render _env: (addr environment) { # defs var defs/edx: (addr handle function) <- get program, defs # line - var sandbox-ah/esi: (addr handle sandbox) <- get program, sandboxes + var sandbox-ah/eax: (addr handle sandbox) <- get program, sandboxes var sandbox/eax: (addr sandbox) <- lookup *sandbox-ah var line-ah/eax: (addr handle line) <- get sandbox, data var _line/eax: (addr line) <- lookup *line-ah -- cgit 1.4.1-2-gfad0 in&id=ceb04db3cca5387d4e2aa2e9222434fc8701f2ec'>diff stats
path: root/subx/020syscalls.cc
blob: a17e952581426759755c7cf305796cd6c4f9dede (plain) (blame)
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121