annotate src/tft_outputs.inc @ 637:cdff88f5a4a0

Battery menu for OSTC plus
author heinrichsweikamp
date Sun, 17 May 2020 09:34:18 +0200
parents 4050675965ea
children 75e90cd0c2c3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
heinrichsweikamp
parents:
diff changeset
1 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
2 ;
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
3 ; File tft_outputs.inc * combined next generation V3.09.5
0
heinrichsweikamp
parents:
diff changeset
4 ;
heinrichsweikamp
parents:
diff changeset
5 ;
heinrichsweikamp
parents:
diff changeset
6 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
heinrichsweikamp
parents:
diff changeset
7 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
8 ; HISTORY
heinrichsweikamp
parents:
diff changeset
9 ; 2011-08-07 : [mH] moving from OSTC code
heinrichsweikamp
parents:
diff changeset
10
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
11
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
12 ;-----------------------------------------------------------------------------
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
13 ; Surface Mode
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
14
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
15 extern TFT_surfmode_time ; current time
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
16 extern TFT_surfmode_date ; current date
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
17 extern TFT_surfmode_pres ; print current pressure, unconditional
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
18 extern TFT_surfmode_pres_fast ; print current pressure, but only if change > threshold
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
19 extern TFT_surfmode_temp ; current temperature (common core with divemode temp)
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
20 extern TFT_surfmode_batt ; battery status (also used in sleep mode)
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
21 extern TFT_surfmode_decotype ; deco mode (OC, CCR, ...)
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
22 extern TFT_surfmode_startgas ; first gas and "OSTC2-like" active gases
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
23
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
24 IFDEF _rx_functions
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
25 extern TFT_surfmode_tankpres ; tank data for surface mode screen
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
26 ENDIF
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
27
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
28
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
29 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
30 ; Surface Mode Custom Views
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
31
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
32 extern TFT_surf_cv_lastdive ; last dive summery
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
33 extern TFT_surf_cv_list_gas ; OC gases list
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
34 extern TFT_surf_cv_text ; the custom text
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
35 extern TFT_surf_cv_tissues ; tissue diagram (also used by logbook)
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
36 extern TFT_surf_cv_settings ; all deco settings
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
37
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
38 IFDEF _rx_functions
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
39 extern TFT_surf_cv_tankdata ; show the tank pressure data in surface customview
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
40 ENDIF
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
41
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
42 IFDEF _compass
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
43 extern TFT_surf_cv_compass_bearing ; "set bearing" dialog
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
44 ENDIF
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
45
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
46 IFDEF _ccr_pscr
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
47 extern TFT_surf_cv_list_dil ; diluents list
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
48 extern TFT_surf_cv_list_sp ; setpoint list
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
49 ENDIF
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
50
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
51
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
52 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
53 ; Surface Mode Messages
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
54
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
55 extern TFT_surf_mesg_desat ; desaturation time
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
56 extern TFT_surf_mesg_nofly ; no-fly/alt time
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
57
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
58
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
59 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
60 ; Imprints called by Housekeeping
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
61
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
62 extern TFT_imprint_time_date ; imprint current time and date
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
63 extern TFT_imprint_time_date_fast ; imprint last cahced time and date
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
64 extern TFT_imprint_color_schemes ; imprint color schemes (animated dive time)
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
65
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
66 IFDEF _external_sensor
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
67 extern TFT_imprint_menu_mV ; imprint sensor data in menu mode - mv
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
68 extern TFT_imprint_surf_ppO2 ; imprint sensor data in surface mode - ppO2
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
69 extern TFT_imprint_surf_mV ; imprint sensor data in surface mode - mV
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
70 extern TFT_imprint_surf_sensor_eol ; imprint sensor data in surface mode - end of life
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
71 ENDIF
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
72
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
73 IFDEF _rx_functions
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
74 extern TFT_imprint_tank_pres ; imprint tank data in tank setup menu
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
75 ENDIF
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
76
560
b7eb98dbd800 bump to 2.96beta (REFACTORED VERSION)
heinrichsweikamp
parents: 535
diff changeset
77
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
78 ;-----------------------------------------------------------------------------
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
79 ; Dive Mode
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
80
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
81 extern TFT_show_divemode_mask ; show static layout
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
82 extern TFT_show_ndl_mask ; show NDL layout add-on
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
83 extern TFT_show_deco_mask ; show deco layout add-on
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
84
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
85 extern TFT_show_divetime ; show dive time
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
86 extern TFT_show_depth ; show current depth
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
87 extern TFT_show_max_depth ; show maximum depth
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
88 extern TFT_show_apnoe_max_depth ; show maximum depth - apnoe mode
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
89 extern TFT_show_temp_divemode ; show temperature (common core with surface temp)
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
90 extern TFT_show_active_gas_divemode ; show active gas and setpoint
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
91 extern TFT_show_ndl ; show NDL time
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
92 extern TFT_show_tts ; show TTS time
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
93 extern TFT_show_deco ; show deco stop data
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
94
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
95 extern TFT_show_apnoe_times ; show apnoe current and overall time
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
96 extern TFT_show_apnoe_surface ; show apnoe surface mode data
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
97 extern TFT_clear_apnoe_surface ; clear apnoe surface data
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
98
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
99 extern TFT_clear_deco_data ; clear deco data (NDL or stop & TTS)
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
100 extern TFT_clear_divemode_menu ; clear the divemode menu
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
101
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
102 extern TFT_velocity_show ; show vertical velocity
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
103 extern TFT_velocity_clear ; clear vertical velocity
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
104
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
105 extern TFT_divemode_sign_show ; show sign
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
106 extern TFT_divemode_sign_clear ; clear sign
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
107
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
108 extern TFT_safety_stop_show ; show safety stop
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
109 extern TFT_safety_stop_clear ; clear safety stop
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
110
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
111
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
112 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
113 ; Dive Mode Mesages
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
114
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
115 extern TFT_message_ftts ; fTTS
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
116 extern TFT_message_ppo2 ; ppO2
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
117 extern TFT_message_battery_percent ; battery
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
118 extern TFT_message_cns ; current CNS
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
119 extern TFT_message_cns_eod ; end-of-dive CNS
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
120 extern TFT_message_saturation ; Saturation
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
121 extern TFT_message_agf ; aGF is selected
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
122 extern TFT_message_divetimeout ; dive timeout counter
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
123 extern TFT_message_gas_needs ; gas needs
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
124 extern TFT_message_gas_change ; gas change advice
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
125 extern TFT_message_no_BO_gas ; no bailout gas available
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
126 extern TFT_message_mbubbles ; mico-bubbles
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
127 extern TFT_message_outside ; outside of the model
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
128 extern TFT_message_depth_limit ; depth limit exceeded
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
129 extern TFT_message_deco_info ; decompression zone
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
130
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
131 IFDEF _helium
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
132 extern TFT_message_IBCD ; INCD
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
133 ENDIF
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
134
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
135 IFDEF _ccr_pscr
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
136 extern TFT_message_gas_density ; gas density
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
137 ENDIF
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
138
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
139 IFDEF _external_sensor
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
140 extern TFT_message_divergence ; sensor ppO2 divergence
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
141 extern TFT_message_fallback ; show fallback warning
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
142 ENDIF
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
143
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
144 IFDEF _rx_functions
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
145 extern TFT_message_transmitter ; transmitter
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
146 extern TFT_message_pressure ; pressure reading
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
147 extern TFT_message_sac ; SAC
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
148 extern TFT_message_switch_tanks ; switch advice for ind.double mode
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
149 ENDIF
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
150
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
151 IFDEF _cave_mode
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
152 extern TFT_message_cave_mode ; cave mode status
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
153 ENDIF
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
154
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
155
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
156 ;-----------------------------------------------------------------------------
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
157 ; Divemode Custom Views
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
158
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
159 extern TFT_avr_stopwatch_mask ; mask for average depth and stopwatch
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
160 extern TFT_avr_stopwatch ; data for average depth and stopwatch
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 628
diff changeset
161 extern TFT_gas_needs_mask ; mask for gas needs ascent
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 628
diff changeset
162 extern TFT_gas_needs ; data for gas needs ascent
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
163 extern TFT_decoplan_mask ; mask for deco plan
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
164 extern TFT_decoplan ; data for deco plan
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
165 extern TFT_ceiling_GF_tissue_mask ; mask for ceiling, current GF and tissues
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
166 extern TFT_ceiling_GF_tissue ; data for ceiling, current GF and tissues
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
167 extern TFT_CNS_mask ; mask for CNS values
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
168 extern TFT_CNS ; data for CNS values
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
169 extern TFT_ppo2_ead_end_cns_mask ; mask for ppO2, END/EAD and CNS / gas density
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
170 extern TFT_ppo2_ead_end_cns ; data for ppO2, END/EAD and CNS / gas density
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
171 extern TFT_gf_factors_mask ; mask for GF factors
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
172 ; extern ; data for GF factors (not existing)
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
173 extern TFT_clock_batt_surfpress_mask ; mask for clock, battery and surface pressure
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
174 extern TFT_clock_batt_surfpress ; data for clock, battery and surface pressure
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
175
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
176 IFDEF _ccr_pscr
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
177 extern TFT_sensor_check_mask ; mask for sensor check
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
178 extern TFT_sensor_check ; data for sensor check
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
179 extern TFT_pscr_info_mask ; mask for pSCR info
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
180 extern TFT_pscr_info ; data for pSCR info
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
181 ENDIF
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
182
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
183 IFDEF _external_sensor
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
184 extern TFT_ppo2_sensors_mask ; mask for ppO2 sensors
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
185 extern TFT_ppo2_sensors ; data for ppO2 sensors
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
186 ENDIF
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
187
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
188 IFDEF _rx_functions
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
189 extern TFT_pressures_SAC_mask ; mask for pressures and SAC
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
190 extern TFT_pressures_SAC ; data for pressures and SAC
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
191 ENDIF
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
192
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 628
diff changeset
193 IFDEF _cave_mode
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 628
diff changeset
194 extern TFT_cave_tts_mask ; mask for cave mode TTS, total stops and runtime
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 628
diff changeset
195 extern TFT_cave_tts ; data for cave mode TTS, total stops and runtime
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
196 extern TFT_cave_waypoints ; data for cave mode waypoints (no mask function)
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
197 ENDIF
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 608
diff changeset
198
0
heinrichsweikamp
parents:
diff changeset
199
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
200 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
201 ; Font Color Selection - pallet-based Colors
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
202
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
203 extern TFT_load_std_color_pallet ; load standard color pallet
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
204 extern TFT_load_dive_color_pallet ; load dive color pallet
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
205
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
206
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
207 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
208 ; Color-Coding
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
209
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
210 extern TFT_color_code_gas ; color-code by gas number (1-6) in WREG
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
211 extern TFT_color_code_gaslist ; color-code by gas O2% (in hi) and absolute pressure
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
212 extern TFT_color_code_cns ; color-code CNS value
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
213
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
214
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
215 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
216 ; Append / Print Firmware Data etc.
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
217
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
218 extern TFT_cat_firmware ; append firmware version to output buffer
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
219 extern TFT_cat_beta_long ; append beta/release to output buffer (long format)
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
220 extern TFT_cat_beta_short ; append beta/release to output buffer (short format)
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
221 extern TFT_cat_serial ; append serial number to output buffer
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
222
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
223 extern TFT_print_serial_and_firmware ; print serial number and full firmware
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
224 extern TFT_print_firmware ; print firmware and beta/release status
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
225 extern TFT_print_decotype ; print OC,CCR,... (used by logbook & simulator)
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
226
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
227 extern TFT_message_fw_update ; firmware is updated message
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
228 extern TFT_message_fw_kept ; firmware is kept message
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
229
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
230
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
231
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
232 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
233 ; Message System
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
234
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
235 extern TFT_buffer_trim_length ; fill or trim output buffer to a given length
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
236 extern TFT_clear_message_window ; clear all messages
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
237 extern TFT_clear_message_window_row2 ; clear only 2nd message
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
238
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
239
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
240 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
241 ; Debug output
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
242
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
243 extern TFT_debug_output ; used for scheduling performance, etc.
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
244
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
245 ;-----------------------------------------------------------------------------