Mercurial > public > mk2
diff 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 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode_menu.asm Wed Oct 12 19:02:38 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/divemode_menu.asm Thu Oct 13 01:59:59 2011 +0200 @@ -194,15 +194,24 @@ bra timeout_divemenu2 ; Quit divemode menu divemode_menu3: - movff menupos3,temp1 ; copy - dcfsnz temp1,F + dcfsnz menupos3,W ; copy bra toggle_stopwatch ; Toggle Stopwatch/Average register - dcfsnz temp1,F + dcfsnz WREG,F bra set_marker ; Set Marker - dcfsnz temp1,F + dcfsnz WREG,F bra divemode_menu3_nothing ; clock... - dcfsnz temp1,F + dcfsnz WREG,F bra divemode_menu3_nothing ; leading tissue... + dcfsnz WREG,F + bra divemode_menu3_nothing ; Average depth (not resetable) + dcfsnz WREG,F + bra divemode_menu3_nothing ; Graphs... + dcfsnz WREG,F + bra divemode_menu3_nothing ; END/EAD in divemode + dcfsnz WREG,F + bra divemode_menu3_nothing ; Futur TTS... + dcfsnz WREG,F + bra toggle_stopwatch ; Cave bailout prediction. divemode_menu3_nothing: bra timeout_divemenu2 ; Quit divemode menu