Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/customview.asm @ 395:0e0cf4701c17
Merge with 64kByte Logbook
author | JeanDo |
---|---|
date | Thu, 23 Jun 2011 01:37:59 +0200 |
parents | deced1cacff7 |
children | 7779bfa89171 |
comparison
equal
deleted
inserted
replaced
369:93c0cb14b0d2 | 395:0e0cf4701c17 |
---|---|
83 | 83 |
84 customview_1sec_average: | 84 customview_1sec_average: |
85 goto PLED_total_average_show2 ; Update the figures only | 85 goto PLED_total_average_show2 ; Update the figures only |
86 | 86 |
87 customview_1sec_stopwatch: | 87 customview_1sec_stopwatch: |
88 btfsc gauge_mode ; In Gauge mode? | |
89 bra customview_1sec_stopwatch_gauge; Yes | |
90 | |
88 bsf menu3_active ; Set Flag | 91 bsf menu3_active ; Set Flag |
89 goto PLED_stopwatch_show2 ; Update figures only | 92 goto PLED_stopwatch_show2 ; Update figures only |
93 | |
94 customview_1sec_stopwatch_gauge: | |
95 bsf menu3_active ; Set Flag | |
96 goto PLED_stopwatch_show_gauge ; Update figures + Description | |
90 | 97 |
91 customview_1sec_marker: ; Do nothing extra | 98 customview_1sec_marker: ; Do nothing extra |
92 bsf menu3_active ; Set Flag | 99 bsf menu3_active ; Set Flag |
93 customview_1sec_clock: ; Do nothing extra | 100 customview_1sec_clock: ; Do nothing extra |
94 customview_1sec_lead_tiss: ; Do nothing extra | 101 customview_1sec_lead_tiss: ; Do nothing extra |
196 customview_init_stopwatch: | 203 customview_init_stopwatch: |
197 GETCUSTOM8 d'51' ; Show Stopwatch? (=1 in WREG) | 204 GETCUSTOM8 d'51' ; Show Stopwatch? (=1 in WREG) |
198 decfsz WREG,F ; WREG=1? | 205 decfsz WREG,F ; WREG=1? |
199 bra customview_toggle ; No, use next Customview | 206 bra customview_toggle ; No, use next Customview |
200 | 207 |
208 btfsc gauge_mode ; In Gauge mode? | |
209 bra customview_init_stopwatch_gauge ; Yes | |
210 | |
201 call PLED_stopwatch_show ; Init Stopwatch display | 211 call PLED_stopwatch_show ; Init Stopwatch display |
202 bsf menu3_active ; Set Flag | 212 bsf menu3_active ; Set Flag |
203 bra customview_toggle_exit | 213 bra customview_toggle_exit |
204 | 214 |
215 customview_init_stopwatch_gauge: | |
216 call PLED_stopwatch_show_gauge ; Init Stopwatch display | |
217 bsf menu3_active ; Set Flag | |
218 bra customview_toggle_exit | |
219 | |
205 customview_init_marker: ; Init Marker | 220 customview_init_marker: ; Init Marker |
221 btfsc gauge_mode ; In Gauge mode? | |
222 call PLED_clear_divemode_menu; Yes, clear BIG stopwatch | |
223 | |
206 GETCUSTOM8 d'50' ; Show Marker? (=1 in WREG) | 224 GETCUSTOM8 d'50' ; Show Marker? (=1 in WREG) |
207 decfsz WREG,F ; WREG=1? | 225 decfsz WREG,F ; WREG=1? |
208 bra customview_toggle ; No, use next Customview | 226 bra customview_toggle ; No, use next Customview |
209 | 227 |
210 call PLED_standard_color | 228 call PLED_standard_color |