Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/sleepmode.asm @ 251:f0cba9cff25c
Still hunting for bb13...
author | JeanDo |
---|---|
date | Tue, 29 Mar 2011 23:47:34 +0200 |
parents | d19445e0cb2f |
children | a728b4a1b660 |
comparison
equal
deleted
inserted
replaced
250:4ef3bcbc7091 | 251:f0cba9cff25c |
---|---|
99 onemin_sleep2: | 99 onemin_sleep2: |
100 ;calc_deko_sleepmode: | 100 ;calc_deko_sleepmode: |
101 movff amb_pressure+0,int_I_pres_respiration+0 ; LOW copy pressure to deco routine | 101 movff amb_pressure+0,int_I_pres_respiration+0 ; LOW copy pressure to deco routine |
102 movff amb_pressure+1,int_I_pres_respiration+1 ; HIGH | 102 movff amb_pressure+1,int_I_pres_respiration+1 ; HIGH |
103 GETCUSTOM8 d'11' ; Saturation multiplier % | 103 GETCUSTOM8 d'11' ; Saturation multiplier % |
104 movwf wait_temp | 104 movff WREG,char_I_saturation_multiplier |
105 movff wait_temp,char_I_saturation_multiplier | |
106 GETCUSTOM8 d'12' ; Desaturation multiplier % | 105 GETCUSTOM8 d'12' ; Desaturation multiplier % |
107 movwf wait_temp | 106 movff WREG,char_I_desaturation_multiplier |
108 movff wait_temp,char_I_desaturation_multiplier | |
109 call deco_calc_wo_deco_step_1_min ; "calc_tissue_sleep" | 107 call deco_calc_wo_deco_step_1_min ; "calc_tissue_sleep" |
110 movlb b'00000001' ; RAM Bank1 selected | 108 movlb b'00000001' ; RAM Bank1 selected |
111 | 109 |
112 bcf oneminupdate ; all done | 110 bcf oneminupdate ; all done |
113 return | 111 return |