comparison code_part1/OSTC_code_asm_part1/surfmode.asm @ 607:227eaded4e1b

Small layout change for mainscreen
author heinrichsweikamp
date Thu, 12 Jul 2012 19:39:00 +0200
parents d14f72af4c07
children bab5a9fc1b10
comparison
equal deleted inserted replaced
606:4f43aee67da0 607:227eaded4e1b
53 call PLED_display_cns_surface ; Update surface CNS display (If allowed by CF15) 53 call PLED_display_cns_surface ; Update surface CNS display (If allowed by CF15)
54 call PLED_desaturation_time ; display desaturation time 54 call PLED_desaturation_time ; display desaturation time
55 call PLED_nofly_time ; display nofly time 55 call PLED_nofly_time ; display nofly time
56 56
57 call PLED_active_gas_surfmode ; Show start gas 57 call PLED_active_gas_surfmode ; Show start gas
58 call PLED_display_decotype_surface ; Show deco mode (ZH-L16, const. ppO2 or Multi-GF)
59 58
60 surfloop1: 59 surfloop1:
61 btfss gauge_mode ; Display only in gauge mode 60 btfss gauge_mode ; Display only in gauge mode
62 bra surfloop2 61 bra surfloop2
63 DISPLAYTEXT d'103' ; Gauge mode 62 DISPLAYTEXT d'103' ; Gauge mode
130 call timeout_surfmode ; check timeout 129 call timeout_surfmode ; check timeout
131 call update_batt_voltage ; display battery voltage 130 call update_batt_voltage ; display battery voltage
132 call timeout_premenu ; timeout premenu 131 call timeout_premenu ; timeout premenu
133 call set_leds_surfmode ; Sets Warning and No-Fly LEDs 132 call set_leds_surfmode ; Sets Warning and No-Fly LEDs
134 call check_customfunctions ; Checks CF functions and displays warning symbol if something critical is wrong 133 call check_customfunctions ; Checks CF functions and displays warning symbol if something critical is wrong
135 call PLED_display_decotype_surface ; Show deco mode
136 call surfcustomview_second ; Do every-second tasks for the custom view area 134 call surfcustomview_second ; Do every-second tasks for the custom view area
137 call dive_type_icons ; Draw Air/Nitrox/Trimix color icon. 135 call dive_type_icons ; Draw Air/Nitrox/Trimix color icon.
138 136
139 ; Every 2 seconds, overwrite with GF value (if needed to display) 137 ; Every 2 seconds, overwrite with GF value (if needed to display)
140 btfsc secs,1 ; Alternating every 2sec (if needed) 138 btfsc secs,1 ; Alternating every 2sec (if needed)