comparison src/divemenu_tree.asm @ 536:f6a3e820a798

update customview mask to (eventually) rewrite ppO2(Dil): to ppO2:
author heinrichsweikamp
date Tue, 22 Aug 2017 15:14:06 +0200
parents 4921aa796691
children ad7dc231c180
comparison
equal deleted inserted replaced
535:cf68fe0c3002 536:f6a3e820a798
111 do_switch_gas: 111 do_switch_gas:
112 bsf divemode_gaschange ; Set flag 112 bsf divemode_gaschange ; Set flag
113 do_switch_gasX: 113 do_switch_gasX:
114 btfsc is_bailout_menu ; Bailout confirmed? 114 btfsc is_bailout_menu ; Bailout confirmed?
115 bsf is_bailout ; =1: Bailout 115 bsf is_bailout ; =1: Bailout
116 call customview_mask ; update customview mask to (eventually) rewrite ppO2(Dil): to ppO2:
116 do_exit_divemode_menu: 117 do_exit_divemode_menu:
117 call timeout_divemode_menu2 118 call timeout_divemode_menu2
118 clrf STKPTR 119 clrf STKPTR
119 goto diveloop_loop4 120 goto diveloop_loop4
120 121
143 ; Clear some flags in case we were in bailout before... 144 ; Clear some flags in case we were in bailout before...
144 bcf is_bailout ; =1: Bailout 145 bcf is_bailout ; =1: Bailout
145 bcf is_bailout_menu ; 146 bcf is_bailout_menu ;
146 bcf better_gas_available ;=1: A better gas is available and a gas change is advised in divemode 147 bcf better_gas_available ;=1: A better gas is available and a gas change is advised in divemode
147 bcf blinking_better_gas ; Clear blinking flag 148 bcf blinking_better_gas ; Clear blinking flag
149 call customview_mask ; update customview mask to (eventually) rewrite ppO2(Dil): to ppO2:
148 bra do_exit_divemode_menu ; And exit 150 bra do_exit_divemode_menu ; And exit
149 151
150 do_divemode_gaslist_pscr: 152 do_divemode_gaslist_pscr:
151 bsf ccr_diluent_setup ; For Diluents 153 bsf ccr_diluent_setup ; For Diluents
152 bcf is_bailout ; =1: Bailout 154 bcf is_bailout ; =1: Bailout