Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/customview.asm @ 134:48f12271eb18
divingmode graphs
small fix in altimeter menu
author | heinrichsweikamp |
---|---|
date | Wed, 05 Jan 2011 12:40:06 +0100 |
parents | 35567a646fe5 |
children | e6aa4a74c3c2 |
comparison
equal
deleted
inserted
replaced
133:35567a646fe5 | 134:48f12271eb18 |
---|---|
88 customview_1sec_clock: ; Do nothing extra | 88 customview_1sec_clock: ; Do nothing extra |
89 customview_1sec_lead_tiss: ; Do nothing extra | 89 customview_1sec_lead_tiss: ; Do nothing extra |
90 return | 90 return |
91 | 91 |
92 customview_1sec_graphs: ; Do nothing extra | 92 customview_1sec_graphs: ; Do nothing extra |
93 call PLED_tissue_saturation_graph | |
94 return | 93 return |
95 | 94 |
96 ;============================================================================= | 95 ;============================================================================= |
97 ; Do every-minute tasks for the custom view area | 96 ; Do every-minute tasks for the custom view area |
98 | 97 |
119 | 118 |
120 customview_minute_lead_tiss: | 119 customview_minute_lead_tiss: |
121 call PLED_show_leading_tissue_2 ; Update the leading tissue | 120 call PLED_show_leading_tissue_2 ; Update the leading tissue |
122 return | 121 return |
123 | 122 |
123 customview_minute_graphs: | |
124 call deco_calc_desaturation_time ; calculate desaturation time | |
125 movlb b'00000001' ; select ram bank 1 | |
126 call PLED_tissue_saturation_graph | |
127 return | |
124 | 128 |
125 customview_minute_marker: ; Do nothing extra | 129 customview_minute_marker: ; Do nothing extra |
126 customview_minute_stopwatch: ; Do nothing extra | 130 customview_minute_stopwatch: ; Do nothing extra |
127 customview_minute_average: ; Do nothing extra | 131 customview_minute_average: ; Do nothing extra |
128 customview_minute_graphs: | |
129 return | 132 return |
130 | 133 |
131 ;============================================================================= | 134 ;============================================================================= |
132 ; Yes, show next customview (and delete this flag) | 135 ; Yes, show next customview (and delete this flag) |
133 | 136 |
193 customview_init_graphs: ; Show tissue graph | 196 customview_init_graphs: ; Show tissue graph |
194 GETCUSTOM8 d'52' ; Show Tissue Graph? (=1 in WREG) | 197 GETCUSTOM8 d'52' ; Show Tissue Graph? (=1 in WREG) |
195 decfsz WREG,F ; WREG=1? | 198 decfsz WREG,F ; WREG=1? |
196 bra customview_toggle ; No, use next Customview | 199 bra customview_toggle ; No, use next Customview |
197 | 200 |
201 call deco_calc_desaturation_time ; calculate desaturation time | |
202 movlb b'00000001' ; select ram bank 1 | |
198 call PLED_tissue_saturation_graph | 203 call PLED_tissue_saturation_graph |
199 bra customview_toggle_exit | 204 bra customview_toggle_exit |
200 customview_toggle_exit: | 205 customview_toggle_exit: |
201 bcf toggle_customview ; Clear flag | 206 bcf toggle_customview ; Clear flag |
202 ostc_debug 'Y' ; Sends debug-information to screen in debugmode | 207 ostc_debug 'Y' ; Sends debug-information to screen in debugmode |