@@ -47,9 +47,9 @@ assoc(`cmove', `CMOVE ')
47
47
assoc(`bye', `BYE ')
48
48
assoc(`drop', `DROP ')
49
49
assoc(`dup', `DUP ')
50
- assoc(`curson', `CURSON ')
51
- assoc(`cursoff', `CURSOFF ')
52
- assoc(`cursxy', `CURSXY ')
50
+ dnl '' assoc(`curson', `CURSON ')
51
+ dnl '' assoc(`cursoff', `CURSOFF ')
52
+ dnl '' assoc(`cursxy', `CURSXY ')
53
53
assoc(`pemitp', `(EMIT) ')
54
54
assoc(`emit', `EMIT ')
55
55
assoc(`ptypep', `(TYPE) ')
@@ -293,7 +293,7 @@ lit64 = _lit64 - _start
293
293
_cold: jal W,_docol
294
294
_cold_0:
295
295
hword lit16, 10, base, store, empty
296
- hword hi, quit, wedge ; Quit should never return.
296
+ hword hi, quit, cold ; Quit should never return.
297
297
298
298
align 4
299
299
_empty: jal W,_docol
@@ -1134,46 +1134,6 @@ _docon:
1134
1134
ld T,0(T)
1135
1135
jal x0,next
1136
1136
1137
- ; User console I/O primitives. These primitives provide the
1138
- ; user interface to the Forth environment.
1139
-
1140
- ; Cursor controls
1141
-
1142
- align 4
1143
- _curson:
1144
- addi S,S,-8
1145
- sd T,0(S)
1146
- ld W,bs_bi-_start(D)
1147
- ld W,bi_term_cursor_on(W)
1148
- jalr ra,0(W)
1149
- ld T,0(S)
1150
- addi S,S,8
1151
- jal x0,next
1152
-
1153
- align 4
1154
- _cursoff:
1155
- addi S,S,-8
1156
- sd T,0(S)
1157
- ld W,bs_bi-_start(D)
1158
- ld W,bi_term_cursor_off(W)
1159
- jalr ra,0(W)
1160
- ld T,0(S)
1161
- addi S,S,8
1162
- jal x0,next
1163
-
1164
- align 4
1165
- _cursxy:
1166
- addi S,S,-8
1167
- sd T,0(S)
1168
- addi a0,S,8 ; px
1169
- addi a1,S,0 ; py
1170
- ld W,bs_bi-_start(D)
1171
- ld W,bi_term_cursor_swap(W)
1172
- jalr ra,0(W)
1173
- ld T,0(S)
1174
- addi S,S,8
1175
- jal x0,next
1176
-
1177
1137
; Print a single character to the user's console.
1178
1138
; The Kestrel-3/E2 version touches hardware directly.
1179
1139
; We assume that the console's SIA has been properly configured already.
0 commit comments