comparison code_part1/OSTC_code_asm_part1/start.asm @ 520:acf4776eec08

BUGFIX bank1 error, deco_calc_wo_deco done twice in start routine.
author JeanDo
date Fri, 09 Dec 2011 20:43:35 +0100
parents c9f19a546e64
children 33abbc08f01e
comparison
equal deleted inserted replaced
519:154b1d1c489e 520:acf4776eec08
100 100
101 call deco_clear_tissue 101 call deco_clear_tissue
102 movlb b'00000001' ; select ram bank 1 102 movlb b'00000001' ; select ram bank 1
103 103
104 call divemode_check_decogases ; Setup N2/He ratio array 104 call divemode_check_decogases ; Setup N2/He ratio array
105
106 call calc_deko_surfmode ; calculate desaturation for one minute
107
105 call deco_calc_desaturation_time ; calculate desaturation time 108 call deco_calc_desaturation_time ; calculate desaturation time
106 call deco_clear_CNS_fraction ; clear CNS 109 call deco_clear_CNS_fraction ; clear CNS
107 call calc_deko_surfmode ; calculate desaturation every minute 110 movlb b'00000001' ; select ram bank 1
108 call deco_calc_wo_deco_step_1_min ; calculate deco in surface mode 111
109 movlb b'00000001' ; select ram bank 1
110 clrf nofly_time+0 ; Reset NoFly 112 clrf nofly_time+0 ; Reset NoFly
111 clrf nofly_time+1 ; Reset NoFly 113 clrf nofly_time+1 ; Reset NoFly
112 bcf nofly_active ; Clear flag 114 bcf nofly_active ; Clear flag
113 115
114 ; check firmware and reset Custom Functions after an update 116 ; check firmware and reset Custom Functions after an update