comparison code_part1/OSTC_code_asm_part1/divemode_menu.asm @ 479:9fc8feff27a5

Enable reset in cave bailout prediction, by using chrono average depth.
author JeanDo
date Thu, 13 Oct 2011 01:59:59 +0200
parents 47b1135cbff3
children b498245da3f1
comparison
equal deleted inserted replaced
478:fd8266b511cc 479:9fc8feff27a5
192 dcfsnz menupos,F 192 dcfsnz menupos,F
193 bra timeout_divemenu2 ; Quit divemode menu 193 bra timeout_divemenu2 ; Quit divemode menu
194 bra timeout_divemenu2 ; Quit divemode menu 194 bra timeout_divemenu2 ; Quit divemode menu
195 195
196 divemode_menu3: 196 divemode_menu3:
197 movff menupos3,temp1 ; copy 197 dcfsnz menupos3,W ; copy
198 dcfsnz temp1,F
199 bra toggle_stopwatch ; Toggle Stopwatch/Average register 198 bra toggle_stopwatch ; Toggle Stopwatch/Average register
200 dcfsnz temp1,F 199 dcfsnz WREG,F
201 bra set_marker ; Set Marker 200 bra set_marker ; Set Marker
202 dcfsnz temp1,F 201 dcfsnz WREG,F
203 bra divemode_menu3_nothing ; clock... 202 bra divemode_menu3_nothing ; clock...
204 dcfsnz temp1,F 203 dcfsnz WREG,F
205 bra divemode_menu3_nothing ; leading tissue... 204 bra divemode_menu3_nothing ; leading tissue...
205 dcfsnz WREG,F
206 bra divemode_menu3_nothing ; Average depth (not resetable)
207 dcfsnz WREG,F
208 bra divemode_menu3_nothing ; Graphs...
209 dcfsnz WREG,F
210 bra divemode_menu3_nothing ; END/EAD in divemode
211 dcfsnz WREG,F
212 bra divemode_menu3_nothing ; Futur TTS...
213 dcfsnz WREG,F
214 bra toggle_stopwatch ; Cave bailout prediction.
206 215
207 divemode_menu3_nothing: 216 divemode_menu3_nothing:
208 bra timeout_divemenu2 ; Quit divemode menu 217 bra timeout_divemenu2 ; Quit divemode menu
209 218
210 set_marker: 219 set_marker: