Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/surfmode.asm @ 453:38b38b105782
compute desat based on 30min old surface pressure
author | heinrichsweikamp |
---|---|
date | Mon, 22 Aug 2011 17:36:30 +0200 |
parents | 3abf9d7dafae |
children | f53aa96ff2f4 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/surfmode.asm Fri Aug 19 00:56:27 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/surfmode.asm Mon Aug 22 17:36:30 2011 +0200 @@ -278,6 +278,7 @@ movff last_surfpressure+0,int_I_pres_surface+0 ; copy surface air pressure to deco routine movff last_surfpressure+1,int_I_pres_surface+1 +calc_deko_surfmode2: clrf WREG ; Use as buffer movff WREG,char_I_He_ratio ; No He at the Surface movlw d'79' ; 79% N2