Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/surfmode.asm @ 236:3dbeacf42e9e
BUGFIX missing deko init in reboot code.
+ Typo in ppN2 name.
author | JeanDo |
---|---|
date | Sat, 19 Mar 2011 15:15:17 +0100 |
parents | 2cbaa01dac26 |
children | 8f20e8948b97 |
comparison
equal
deleted
inserted
replaced
235:ade0848c8b8b | 236:3dbeacf42e9e |
---|---|
279 movff wait_temp,char_I_N2_ratio ; No He at the Surface | 279 movff wait_temp,char_I_N2_ratio ; No He at the Surface |
280 | 280 |
281 movff amb_pressure+0,int_I_pres_respiration+0 ; copy surface air pressure to deco routine | 281 movff amb_pressure+0,int_I_pres_respiration+0 ; copy surface air pressure to deco routine |
282 movff amb_pressure+1,int_I_pres_respiration+1 | 282 movff amb_pressure+1,int_I_pres_respiration+1 |
283 GETCUSTOM8 d'11' ; Saturation multiplier % | 283 GETCUSTOM8 d'11' ; Saturation multiplier % |
284 movwf wait_temp | 284 movff WREG,char_I_saturation_multiplier |
285 movff wait_temp,char_I_saturation_multiplier | |
286 GETCUSTOM8 d'12' ; Desaturation multiplier % | 285 GETCUSTOM8 d'12' ; Desaturation multiplier % |
287 movwf wait_temp | 286 movff WREG,char_I_desaturation_multiplier |
288 movff wait_temp,char_I_desaturation_multiplier | |
289 | 287 |
290 call deco_calc_wo_deco_step_1_min ; calculate deco in surface mode | 288 call deco_calc_wo_deco_step_1_min ; calculate deco in surface mode |
291 movlb b'00000001' ; select ram bank 1 | 289 movlb b'00000001' ; select ram bank 1 |
292 ostc_debug 'J' ; Sends debug-information to screen if debugmode active | 290 ostc_debug 'J' ; Sends debug-information to screen if debugmode active |
293 bcf LED_red | 291 bcf LED_red |