Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/menu_reset.asm @ 116:14a074e1a375
Split C code, and use direct linking.
author | JeanDo |
---|---|
date | Sun, 26 Dec 2010 14:30:13 +0100 |
parents | 50a06adabc67 |
children | e0f29e20bd24 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_reset.asm Fri Dec 24 15:40:27 2010 +0100 +++ b/code_part1/OSTC_code_asm_part1/menu_reset.asm Sun Dec 26 14:30:13 2010 +0100 @@ -284,7 +284,7 @@ DISPLAYTEXT .25 ; "Reset..." movff amb_pressure+0,int_I_pres_respiration+0 ; copy surface air pressure to deco routine movff amb_pressure+1,int_I_pres_respiration+1 - call deco_main_clear_tissue ; + call deco_clear_tissue movlb b'00000001' ; RAM Bank1 selected goto restart ; done. quit to surfmode @@ -303,7 +303,7 @@ ; reset deco data movff amb_pressure+0,int_I_pres_respiration+0 ; copy surface air pressure to deco routine movff amb_pressure+1,int_I_pres_respiration+1 - call deco_main_clear_tissue ; + call deco_clear_tissue movlb b'00000001' ; RAM Bank1 selected ; reset gases