Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/divemode.asm @ 203:2d9af08ed0ac
BUGFIX Gas switch
+ To implement gas switch, the ascent engine have to know about dive duration.
author | JeanDo |
---|---|
date | Fri, 18 Feb 2011 00:23:51 +0100 |
parents | f15e804ff67f |
children | f60acc323701 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode.asm Wed Feb 16 11:23:46 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/divemode.asm Fri Feb 18 00:23:51 2011 +0100 @@ -460,6 +460,8 @@ movff WREG,char_I_deco_distance GETCUSTOM8 d'29' ; Depth Last Deco in meter for simulation movff WREG,char_I_depth_last_deco + movff divemins+0,int_I_divemins+0 ; Current dive time. + movff divemins+1,int_I_divemins+1 goto restart_set_modes_and_flags ; Sets decomode (char_I_deco_model) and flags (again) calc_deko_divemode3: