Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/customview.asm @ 133:35567a646fe5
Minor merge fixes...
author | JeanDo |
---|---|
date | Wed, 05 Jan 2011 12:24:58 +0100 |
parents | 03df42de03e1 |
children | 48f12271eb18 |
comparison
equal
deleted
inserted
replaced
132:49bb155ddfbf | 133:35567a646fe5 |
---|---|
67 bra customview_1sec_marker ; Update the Marker | 67 bra customview_1sec_marker ; Update the Marker |
68 dcfsnz WREG,F | 68 dcfsnz WREG,F |
69 bra customview_1sec_clock ; Update the Clock | 69 bra customview_1sec_clock ; Update the Clock |
70 dcfsnz WREG,F | 70 dcfsnz WREG,F |
71 bra customview_1sec_lead_tiss ; Update the leading tissue | 71 bra customview_1sec_lead_tiss ; Update the leading tissue |
72 dcfsnz temp1,F | 72 dcfsnz WREG,F |
73 bra customview_1sec_average ; Update the Average depth | 73 bra customview_1sec_average ; Update the Average depth |
74 dcfsnz WREG,F | 74 dcfsnz WREG,F |
75 bra customview_1sec_graphs ; Update the leading tissue | 75 bra customview_1sec_graphs ; Update the leading tissue |
76 ; Menupos3=0, do nothing | 76 ; Menupos3=0, do nothing |
77 return | 77 return |
85 return | 85 return |
86 | 86 |
87 customview_1sec_marker: ; Do nothing extra | 87 customview_1sec_marker: ; Do nothing extra |
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 | |
91 | |
90 customview_1sec_graphs: ; Do nothing extra | 92 customview_1sec_graphs: ; Do nothing extra |
93 call PLED_tissue_saturation_graph | |
91 return | 94 return |
92 | 95 |
93 ;============================================================================= | 96 ;============================================================================= |
94 ; Do every-minute tasks for the custom view area | 97 ; Do every-minute tasks for the custom view area |
95 | 98 |
101 bra customview_minute_marker ; Update the Marker | 104 bra customview_minute_marker ; Update the Marker |
102 dcfsnz WREG,F | 105 dcfsnz WREG,F |
103 bra customview_minute_clock ; Update the Clock | 106 bra customview_minute_clock ; Update the Clock |
104 dcfsnz WREG,F | 107 dcfsnz WREG,F |
105 bra customview_minute_lead_tiss ; Update the leading tissue | 108 bra customview_minute_lead_tiss ; Update the leading tissue |
106 dcfsnz temp1,F | 109 dcfsnz WREG,F |
107 bra customview_minute_average ; Update the Average depth | 110 bra customview_minute_average ; Update the Average depth |
108 dcfsnz WREG,F | 111 dcfsnz WREG,F |
109 bra customview_minute_graphs ; Update the graphs | 112 bra customview_minute_graphs ; Update the graphs |
110 ; Menupos3=0, do nothing | 113 ; Menupos3=0, do nothing |
111 return | 114 return |
116 | 119 |
117 customview_minute_lead_tiss: | 120 customview_minute_lead_tiss: |
118 call PLED_show_leading_tissue_2 ; Update the leading tissue | 121 call PLED_show_leading_tissue_2 ; Update the leading tissue |
119 return | 122 return |
120 | 123 |
121 customview_minute_graphs: | |
122 call PLED_tissue_saturation_graph | |
123 return | |
124 | 124 |
125 customview_minute_marker: ; Do nothing extra | 125 customview_minute_marker: ; Do nothing extra |
126 customview_minute_stopwatch: ; Do nothing extra | 126 customview_minute_stopwatch: ; Do nothing extra |
127 customview_minute_average: ; Do nothing extra | 127 customview_minute_average: ; Do nothing extra |
128 customview_minute_graphs: | |
128 return | 129 return |
129 | 130 |
130 ;============================================================================= | 131 ;============================================================================= |
131 ; Yes, show next customview (and delete this flag) | 132 ; Yes, show next customview (and delete this flag) |
132 | 133 |
146 bra customview_init_marker ; Show the Marker-Menu | 147 bra customview_init_marker ; Show the Marker-Menu |
147 dcfsnz WREG,F | 148 dcfsnz WREG,F |
148 bra customview_init_clock ; Show the clock | 149 bra customview_init_clock ; Show the clock |
149 dcfsnz WREG,F | 150 dcfsnz WREG,F |
150 bra customview_init_lead_tissue ; Show the leading tissue | 151 bra customview_init_lead_tissue ; Show the leading tissue |
151 dcfsnz temp1,F | 152 dcfsnz WREG,F |
152 bra customview_init_average ; Show Total average depth | 153 bra customview_init_average ; Show Total average depth |
153 dcfsnz WREG,F | 154 dcfsnz WREG,F |
154 bra customview_init_graphs ; Show the graphs | 155 bra customview_init_graphs ; Show the graphs |
155 | 156 |
156 customview_init_nocustomview: | 157 customview_init_nocustomview: |
190 bra customview_toggle_exit | 191 bra customview_toggle_exit |
191 | 192 |
192 customview_init_graphs: ; Show tissue graph | 193 customview_init_graphs: ; Show tissue graph |
193 GETCUSTOM8 d'52' ; Show Tissue Graph? (=1 in WREG) | 194 GETCUSTOM8 d'52' ; Show Tissue Graph? (=1 in WREG) |
194 decfsz WREG,F ; WREG=1? | 195 decfsz WREG,F ; WREG=1? |
195 call PLED_tissue_saturation_graph | |
196 bra customview_toggle ; No, use next Customview | 196 bra customview_toggle ; No, use next Customview |
197 | 197 |
198 call PLED_tissue_saturation_graph | |
199 bra customview_toggle_exit | |
198 customview_toggle_exit: | 200 customview_toggle_exit: |
199 bcf toggle_customview ; Clear flag | 201 bcf toggle_customview ; Clear flag |
200 ostc_debug 'Y' ; Sends debug-information to screen in debugmode | 202 ostc_debug 'Y' ; Sends debug-information to screen in debugmode |
201 return | 203 return |
202 | 204 |
215 dcfsnz WREG,F | 217 dcfsnz WREG,F |
216 bra surfcustomview_init_graphs ; Show the tissue graphs | 218 bra surfcustomview_init_graphs ; Show the tissue graphs |
217 dcfsnz WREG,F | 219 dcfsnz WREG,F |
218 bra surfcustomview_init_gaslist ; Show pre-dive gaslist/setpoint list | 220 bra surfcustomview_init_gaslist ; Show pre-dive gaslist/setpoint list |
219 dcfsnz WREG,F | 221 dcfsnz WREG,F |
220 bra surfcustomview_init_interval ; Show the interval counter | 222 bra surfcustomview_init_interval; Show the interval counter |
221 dcfsnz WREG,F | 223 dcfsnz WREG,F |
222 bra surfcustomview_init_cfview ; Show the interval counter | 224 bra surfcustomview_init_cfview ; Show the interval counter |
223 | 225 |
224 surfcustomview_init_nocustomview: | 226 surfcustomview_init_nocustomview: |
225 bra surfcustomview_toggle_exit | 227 bra surfcustomview_toggle_exit |
226 | 228 |
227 surfcustomview_init_graphs: | 229 surfcustomview_init_graphs: |
228 call PLED_tissue_saturation_graph ; Draw the graphs | 230 call PLED_tissue_saturation_graph; Draw the graphs |
229 bra surfcustomview_toggle_exit | 231 bra surfcustomview_toggle_exit |
230 | 232 |
231 surfcustomview_init_gaslist: | 233 surfcustomview_init_gaslist: |
232 call PLED_pre_dive_screen ; Show the Gaslist/Setpoint list | 234 call PLED_pre_dive_screen ; Show the Gaslist/Setpoint list |
233 bra surfcustomview_toggle_exit | 235 bra surfcustomview_toggle_exit |