0
|
1 ;=============================================================================
|
|
2 ;
|
|
3 ; File tft_outputs.inc
|
|
4 ;
|
|
5 ;
|
|
6 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
|
|
7 ;=============================================================================
|
|
8 ; HISTORY
|
|
9 ; 2011-08-07 : [mH] moving from OSTC code
|
|
10
|
|
11 ; Macros
|
|
12 extern TFT_color_code1
|
|
13 TFT_color_code macro color_code_temp
|
|
14 movlw color_code_temp
|
|
15 call TFT_color_code1
|
|
16 endm
|
|
17
|
|
18 ; Surface mode
|
234
|
19 extern TFT_show_OC_startgas_surface ; Show first gas and "OSTC2-like" active gases
|
0
|
20 extern TFT_serial
|
|
21 extern TFT_clock
|
|
22 extern TFT_date
|
|
23 extern TFT_desaturation_time
|
|
24 extern TFT_nofly_time
|
|
25 extern TFT_interval
|
|
26 extern TFT_gaslist_surfmode
|
|
27 extern TFT_dillist_surfmode
|
|
28 extern TFT_splist_surfmode ; Show Setpoint list
|
|
29 extern TFT_temp_surfmode
|
|
30 extern TFT_update_batt_voltage
|
|
31 extern TFT_display_decotype_surface
|
|
32 extern TFT_display_decotype_surface1 ; Used from logbook!
|
|
33 extern TFT_update_surf_press
|
188
|
34 extern TFT_surface_sensor ; Update HUD data in surface mode
|
0
|
35 ; extern TFT_clear_customview_surfacemode
|
|
36 extern TFT_menu_hud ; Update HUD data in menu (including mV)
|
187
|
37 extern TFT_menu_calibrate ; Update mV data in menu
|
0
|
38 extern TFT_custom_text ; The custom text
|
|
39 extern TFT_surface_tissues ; Show Tissue diagram in surface mode
|
256
|
40 ; extern TFT_surface_compass_mask ; Compass heading mask
|
|
41 ; extern TFT_surface_compass_heading ; Compass heading value
|
41
|
42 extern TFT_surface_decosettings ; Show all deco settings
|
76
|
43 extern TFT_cat_serial ; Add serial to current string
|
|
44 extern TFT_cat_firmware ; Add firmware version to current string
|
256
|
45 ; extern TFT_compass_show_gain ; Show the current compass gain
|
|
46 ; extern TFT_show_timeout_testmode ; Show the timeout during calibration
|
0
|
47 ; Menu
|
|
48 extern TFT_LogOffset_Logtitle
|
50
|
49 extern TFT_show_color_schemes ; Yes, update the color schemes
|
0
|
50
|
|
51 ; Debug and useless stuff
|
145
|
52 ; extern TFT_update_raw_data
|
|
53 ; extern TFT_update_raw_data2
|
256
|
54 ; extern TFT_compass_fast
|
0
|
55
|
|
56 ; Dive mode
|
|
57 extern TFT_display_cns
|
|
58 extern TFT_divemins
|
|
59 extern TFT_depth
|
|
60 extern TFT_temp_divemode
|
|
61 extern TFT_max_pressure
|
|
62 extern TFT_active_gas_divemode
|
|
63 extern TFT_divemode_mask
|
|
64 extern TFT_display_ndl_mask
|
|
65 extern TFT_show_TTS_divemode
|
|
66 extern TFT_display_ndl
|
|
67 extern TFT_display_deko_mask
|
|
68 extern TFT_divemode_warning
|
|
69 extern TFT_divemode_warning_clear
|
315
|
70 extern TFT_velocity_clear
|
0
|
71 extern TFT_display_velocity
|
|
72 extern TFT_display_deko
|
333
|
73 extern TFT_mask_ppo2
|
0
|
74 extern TFT_display_ppo2
|
333
|
75 extern TFT_display_ppo2_val
|
0
|
76 extern TFT_update_batt_percent_divemode
|
|
77 extern TFT_display_apnoe_descent
|
|
78 extern TFT_apnoe_clear_surface
|
|
79 extern TFT_display_apnoe_surface
|
|
80 extern TFT_display_apnoe_last_max
|
|
81 extern TFT_ftts
|
|
82 extern TFT_clear_warning_text
|
|
83 extern TFT_clear_warning_text_2nd_row
|
|
84 extern TFT_warning_gf
|
192
|
85 extern TFT_update_ppo2_sensors ; Update Sensor data
|
0
|
86 extern TFT_hud_mask ; The HUD mask
|
|
87 extern TFT_mask_avr_stopwatch ; Show mask for average depth and stopwatch
|
|
88 extern TFT_update_avr_stopwatch ; Update average depth and stopwatch
|
|
89 extern TFT_decoplan ; Decoplan
|
|
90 extern TFT_clear_divemode_menu ; Clear the divemode menu
|
315
|
91 extern TFT_draw_gassep_line ; Draw the gas separator grid line in spec mode only
|
0
|
92 extern TFT_divemode_menu_cursor ; the divemode cursor
|
|
93 extern TFT_ead_end_tissues_clock_mask ; Setup Mask
|
|
94 extern TFT_ead_end_tissues_clock ; Show EAD/END, Tissues and clock
|
|
95 extern TFT_gf_mask ; Setup Mask
|
333
|
96 extern TFT_gf_mask_cGF ; Setup Mask - current GF only
|
0
|
97 extern TFT_gf_info ; Show GF informations
|
|
98 extern TFT_warning_agf ; Show a warning if aGF is selected
|
256
|
99 ; extern TFT_dive_compass_mask ; Compass mask
|
|
100 ; extern TFT_dive_compass_heading ; Compass heading
|
53
|
101 extern TFT_dyn_gaslist ; Show the dyn gaslist
|
55
|
102 extern TFT_divetimeout ; Show timeout counter
|
102
|
103 extern TFT_hud_voltages ; Show HUD details
|
104
|
104 extern TFT_show_safety_stop ; Show the safety stop
|
|
105 extern TFT_clear_decoarea ; Cleanup deco area on screen
|
123
|
106 extern TFT_ceiling_mask ; The ceiling mask
|
|
107 extern TFT_ceiling ; Ceiling
|
131
|
108 extern TFT_clear_safety_stop ; Clear safety stop
|
145
|
109 extern TFT_warning_fallback ; Show fallback warning
|
413
|
110 extern TFT_sensor_check_mask ; Show ppO2 of O2 and Diluent mask
|
|
111 extern TFT_sensor_check ; Show ppO2 of O2 and Diluent
|
|
112
|
0
|
113
|
|
114 ; Misc
|
292
|
115 extern TFT_standard_color
|
|
116 extern TFT_disabled_color
|
|
117 extern TFT_attention_color
|
|
118 extern TFT_warnings_color
|
|
119 extern TFT_divemask_color
|
|
120 extern adjust_depth_with_salinity ; computes salinity setting into lo:hi [mbar]
|
|
121 extern adjust_depth_with_salinity_log ; computes salinity setting (FROM WREG!) into lo:hi [mbar]
|
|
122 extern TFT_convert_date_short
|
|
123 extern TFT_convert_signed_16bit
|
|
124 extern TFT_convert_date
|
|
125 extern TFT_debug_output
|
|
126 extern TFT_show_time_date_menu
|
|
127 extern convert_mbar_to_feet ; convert value in lo:hi from mbar to feet
|
|
128 extern convert_celsius_to_fahrenheit ; convert value in lo:hi from celsius to fahrenheit |