Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/start.asm @ 31:2b52a4a7dce6
preparations for new deco code...
author | heinrichsweikamp |
---|---|
date | Sun, 23 May 2010 22:13:25 +0200 |
parents | 73014f788032 |
children | a776039bda63 |
comparison
equal
deleted
inserted
replaced
30:943dc3336f48 | 31:2b52a4a7dce6 |
---|---|
72 movwf wait_temp ; Use as buffer | 72 movwf wait_temp ; Use as buffer |
73 movff wait_temp,char_I_N2_ratio ; No He at the Surface | 73 movff wait_temp,char_I_N2_ratio ; No He at the Surface |
74 movff amb_pressure+0,int_I_pres_respiration+0 ; copy surface air pressure to deco routine | 74 movff amb_pressure+0,int_I_pres_respiration+0 ; copy surface air pressure to deco routine |
75 movff amb_pressure+1,int_I_pres_respiration+1 | 75 movff amb_pressure+1,int_I_pres_respiration+1 |
76 | 76 |
77 call deco_main_clear_tissue ; | 77 movlw d'0' |
78 movlb b'00000001' ; select ram bank 1 | 78 movff WREG,char_I_step_is_1min ; 2 second deco mode |
79 movff WREG,unused_x24B | |
80 ; call deco_main_clear_tissue ; | |
81 ; movlb b'00000001' ; select ram bank 1 | |
79 call deco_main_calc_desaturation_time; calculate desaturation time | 82 call deco_main_calc_desaturation_time; calculate desaturation time |
80 movlb b'00000001' ; select ram bank 1 | 83 movlb b'00000001' ; select ram bank 1 |
81 call main_clear_CNS_fraction ; clear CNS | 84 call main_clear_CNS_fraction ; clear CNS |
82 movlb b'00000001' ; select ram bank 1 | 85 movlb b'00000001' ; select ram bank 1 |
83 call calc_deko_surfmode ; calculate desaturation every minute | 86 call calc_deko_surfmode ; calculate desaturation every minute |