comparison code_part1/OSTC_code_asm_part1/customview.asm @ 115:50a06adabc67

First gas is active, Gauge mode display
author heinrichsweikamp
date Fri, 24 Dec 2010 15:40:27 +0100
parents 9500f431248a
children f24137eb85de
comparison
equal deleted inserted replaced
114:e39a6415df3d 115:50a06adabc67
147 movlw d'4' ; Max number 147 movlw d'4' ; Max number
148 cpfsgt menupos3 ; Max reached? 148 cpfsgt menupos3 ; Max reached?
149 bra surfcustomview_mask ; No, show 149 bra surfcustomview_mask ; No, show
150 clrf menupos3 ; Reset to zero (Zero=no custom view) 150 clrf menupos3 ; Reset to zero (Zero=no custom view)
151 surfcustomview_mask: 151 surfcustomview_mask:
152 call PLED_clear_customview_surfacemode 152 call PLED_clear_customview_surfmode
153 movff menupos3,temp1 ; Menupos3 holds number of customview function 153 movff menupos3,temp1 ; Menupos3 holds number of customview function
154 dcfsnz temp1,F 154 dcfsnz temp1,F
155 bra surfcustomview_init_graphs ; Show the tissue graphs 155 bra surfcustomview_init_graphs ; Show the tissue graphs
156 dcfsnz temp1,F 156 dcfsnz temp1,F
157 bra surfcustomview_init_gaslist ; Show pre-dive gaslist/setpoint list 157 bra surfcustomview_init_gaslist ; Show pre-dive gaslist/setpoint list