Mercurial > public > hwos_code
comparison src/strings.asm @ 189:e79bc535ef9e
ignore un-calibrated sensors even if they become valid
author | heinrichsweikamp |
---|---|
date | Wed, 29 Oct 2014 12:53:01 +0100 |
parents | 40ff64d60054 |
children | 3fec179a6220 |
comparison
equal
deleted
inserted
replaced
188:ebc28381f17d | 189:e79bc535ef9e |
---|---|
222 | 222 |
223 global start_tiny_block | 223 global start_tiny_block |
224 start_tiny_block: | 224 start_tiny_block: |
225 clrf WREG | 225 clrf WREG |
226 movff WREG, win_font ; Need a bank-safe move here ! | 226 movff WREG, win_font ; Need a bank-safe move here ! |
227 movff WREG, win_invert | |
228 bra start_common | |
229 | |
230 global start_tiny_invert_block | |
231 start_tiny_invert_block: | |
232 clrf WREG | |
233 movff WREG, win_font ; Need a bank-safe move here ! | |
234 movlw 1 | |
235 movff WREG, win_invert | |
236 bra start_common | 227 bra start_common |
237 | 228 |
238 global start_small_block | 229 global start_small_block |
239 start_small_block: | 230 start_small_block: |
240 movlw 1 | 231 movlw 1 |
241 movff WREG, win_font ; Need a bank-safe move here ! | 232 movff WREG, win_font ; Need a bank-safe move here ! |
242 clrf WREG | |
243 movff WREG, win_invert | |
244 bra start_common | |
245 | |
246 global start_small_invert_block | |
247 start_small_invert_block: | |
248 movlw 1 | |
249 movff WREG, win_font ; Need a bank-safe move here ! | |
250 movff WREG, win_invert | |
251 bra start_common | 233 bra start_common |
252 | 234 |
253 global start_std_block | 235 global start_std_block |
254 start_std_block: | 236 start_std_block: |
255 movlw 2 | 237 movlw 2 |
256 movff WREG, win_font ; Need a bank-safe move here ! | 238 movff WREG, win_font ; Need a bank-safe move here ! |
257 clrf WREG | |
258 movff WREG, win_invert | |
259 bra start_common | |
260 | |
261 global start_std_invert_block | |
262 start_std_invert_block: | |
263 movlw 2 | |
264 movff WREG, win_font ; Need a bank-safe move here ! | |
265 movlw 1 | |
266 movff WREG, win_invert | |
267 bra start_common | 239 bra start_common |
268 | 240 |
269 global start_medium_block | 241 global start_medium_block |
270 start_medium_block: | 242 start_medium_block: |
271 movlw 3 | 243 movlw 3 |
272 movff WREG, win_font ; Need a bank-safe move here ! | 244 movff WREG, win_font ; Need a bank-safe move here ! |
273 clrf WREG | |
274 movff WREG, win_invert | |
275 bra start_common | |
276 | |
277 global start_medium_invert_block | |
278 start_medium_invert_block: | |
279 movlw 3 | |
280 movff WREG, win_font ; Need a bank-safe move here ! | |
281 movlw 1 | |
282 movff WREG, win_invert | |
283 bra start_common | 245 bra start_common |
284 | 246 |
285 global start_large_block | 247 global start_large_block |
286 start_large_block: | 248 start_large_block: |
287 movlw 4 | 249 movlw 4 |
288 movff WREG, win_font ; Need a bank-safe move here ! | 250 movff WREG, win_font ; Need a bank-safe move here ! |
289 clrf WREG | 251 ; bra start_common |
290 movff WREG, win_invert | |
291 bra start_common | |
292 | |
293 global start_large_invert_block | |
294 start_large_invert_block: | |
295 movlw 4 | |
296 movff WREG, win_font ; Need a bank-safe move here ! | |
297 movlw 1 | |
298 movff WREG, win_invert | |
299 bra start_common | |
300 | |
301 start_common: | 252 start_common: |
302 VARARGS_BEGIN | 253 VARARGS_BEGIN |
303 VARARGS_GET8 win_leftx2 | 254 VARARGS_GET8 win_leftx2 |
304 VARARGS_GET8 win_top | 255 VARARGS_GET8 win_top |
305 VARARGS_END | 256 VARARGS_END |