Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/surfmode.asm @ 257:f8f869bafd92
Use timer TMR3 to limit loops in calc_hauptroutine_calc_deco()
author | JeanDo |
---|---|
date | Sun, 10 Apr 2011 13:12:38 +0200 |
parents | 8f20e8948b97 |
children | 4ec488f046f4 |
comparison
equal
deleted
inserted
replaced
256:d8dfbc7041b0 | 257:f8f869bafd92 |
---|---|
286 | 286 |
287 call deco_calc_wo_deco_step_1_min ; calculate deco in surface mode | 287 call deco_calc_wo_deco_step_1_min ; calculate deco in surface mode |
288 movlb b'00000001' ; select ram bank 1 | 288 movlb b'00000001' ; select ram bank 1 |
289 ostc_debug 'J' ; Sends debug-information to screen if debugmode active | 289 ostc_debug 'J' ; Sends debug-information to screen if debugmode active |
290 | 290 |
291 movff int_O_desaturation_time+0,desaturation_time_buffer+0 | 291 movff int_O_desaturation_time+0,desaturation_time_buffer+0 |
292 movff int_O_desaturation_time+1,desaturation_time_buffer+1 | 292 movff int_O_desaturation_time+1,desaturation_time_buffer+1 |
293 | 293 |
294 return | 294 return |
295 | 295 |
296 | 296 |
297 test_charger: | 297 test_charger: |