comparison src/simulator.asm @ 178:39f6c07ce2f6

BUGFIX: Average depth computation
author heinrichsweikamp
date Tue, 07 Oct 2014 13:45:21 +0200
parents 932e91074bdb
children e79bc535ef9e
comparison
equal deleted inserted replaced
177:67db1f6d3787 178:39f6c07ce2f6
144 rcall deco_setup_cc_diluents ; Setup CC Diluents 144 rcall deco_setup_cc_diluents ; Setup CC Diluents
145 btfss FLAG_ccr_mode ; =1: CCR mode (Fixed ppO2 or Sensor) active 145 btfss FLAG_ccr_mode ; =1: CCR mode (Fixed ppO2 or Sensor) active
146 rcall deco_setup_oc_gases ; Setup OC Gases 146 rcall deco_setup_oc_gases ; Setup OC Gases
147 btfsc is_bailout ; =1: Bailout 147 btfsc is_bailout ; =1: Bailout
148 rcall deco_setup_oc_gases ; Setup OC/Bailout Gases 148 rcall deco_setup_oc_gases ; Setup OC/Bailout Gases
149
150 movff divemins+0,int_I_divemins+0 ; Current dive time.
151 movff divemins+1,int_I_divemins+1
149 152
150 movlw deco_distance 153 movlw deco_distance
151 movff WREG,char_I_deco_distance 154 movff WREG,char_I_deco_distance
152 movff opt_last_stop,char_I_depth_last_deco 155 movff opt_last_stop,char_I_depth_last_deco
153 movff opt_GF_low,char_I_GF_Low_percentage 156 movff opt_GF_low,char_I_GF_Low_percentage