annotate src/tft_outputs.inc @ 67:7815bf21d353

second debug mode page
author heinrichsweikamp
date Sat, 11 Jan 2014 22:36:17 +0100
parents 448ba265fdae
children a5ea132770db
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
heinrichsweikamp
parents:
diff changeset
1 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
2 ;
heinrichsweikamp
parents:
diff changeset
3 ; File tft_outputs.inc
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
heinrichsweikamp
parents:
diff changeset
11 ; Macros
heinrichsweikamp
parents:
diff changeset
12 extern TFT_color_code1
heinrichsweikamp
parents:
diff changeset
13 TFT_color_code macro color_code_temp
heinrichsweikamp
parents:
diff changeset
14 movlw color_code_temp
heinrichsweikamp
parents:
diff changeset
15 call TFT_color_code1
heinrichsweikamp
parents:
diff changeset
16 endm
heinrichsweikamp
parents:
diff changeset
17
heinrichsweikamp
parents:
diff changeset
18 ; Surface mode
heinrichsweikamp
parents:
diff changeset
19 extern TFT_serial
heinrichsweikamp
parents:
diff changeset
20 extern TFT_clock
heinrichsweikamp
parents:
diff changeset
21 extern TFT_date
heinrichsweikamp
parents:
diff changeset
22 extern TFT_desaturation_time
heinrichsweikamp
parents:
diff changeset
23 extern TFT_nofly_time
heinrichsweikamp
parents:
diff changeset
24 extern TFT_interval
heinrichsweikamp
parents:
diff changeset
25 extern TFT_gaslist_surfmode
heinrichsweikamp
parents:
diff changeset
26 extern TFT_dillist_surfmode
heinrichsweikamp
parents:
diff changeset
27 extern TFT_splist_surfmode ; Show Setpoint list
heinrichsweikamp
parents:
diff changeset
28 extern TFT_temp_surfmode
heinrichsweikamp
parents:
diff changeset
29 extern TFT_update_batt_voltage
heinrichsweikamp
parents:
diff changeset
30 extern TFT_display_decotype_surface
heinrichsweikamp
parents:
diff changeset
31 extern TFT_display_decotype_surface1 ; Used from logbook!
heinrichsweikamp
parents:
diff changeset
32 extern TFT_update_surf_press
heinrichsweikamp
parents:
diff changeset
33 extern TFT_surface_hud ; Update HUD data in surface mode
heinrichsweikamp
parents:
diff changeset
34 ; extern TFT_user_image
heinrichsweikamp
parents:
diff changeset
35 ; extern TFT_clear_customview_surfacemode
heinrichsweikamp
parents:
diff changeset
36 extern TFT_menu_hud ; Update HUD data in menu (including mV)
heinrichsweikamp
parents:
diff changeset
37 extern TFT_custom_text ; The custom text
heinrichsweikamp
parents:
diff changeset
38 extern TFT_surface_tissues ; Show Tissue diagram in surface mode
heinrichsweikamp
parents:
diff changeset
39 extern TFT_surface_compass_mask ; Compass heading mask
heinrichsweikamp
parents:
diff changeset
40 extern TFT_surface_compass_heading ; Compass heading value
41
5041477eee79 Surface customview with important deco settings
mh@mh-THINK
parents: 0
diff changeset
41 extern TFT_surface_decosettings ; Show all deco settings
0
heinrichsweikamp
parents:
diff changeset
42
heinrichsweikamp
parents:
diff changeset
43 ; Menu
heinrichsweikamp
parents:
diff changeset
44 extern TFT_LogOffset_Logtitle
50
ec4d8503ec45 NEW: user-selectable color schemes
heinrichsweikamp
parents: 41
diff changeset
45 extern TFT_show_color_schemes ; Yes, update the color schemes
0
heinrichsweikamp
parents:
diff changeset
46
heinrichsweikamp
parents:
diff changeset
47 ; Debug and useless stuff
heinrichsweikamp
parents:
diff changeset
48 extern TFT_update_raw_data
67
7815bf21d353 second debug mode page
heinrichsweikamp
parents: 55
diff changeset
49 extern TFT_update_raw_data2
0
heinrichsweikamp
parents:
diff changeset
50 extern TFT_compass_fast
heinrichsweikamp
parents:
diff changeset
51
heinrichsweikamp
parents:
diff changeset
52 ; Dive mode
heinrichsweikamp
parents:
diff changeset
53 extern TFT_display_cns
heinrichsweikamp
parents:
diff changeset
54 extern TFT_divemins
heinrichsweikamp
parents:
diff changeset
55 extern TFT_depth
heinrichsweikamp
parents:
diff changeset
56 extern TFT_temp_divemode
heinrichsweikamp
parents:
diff changeset
57 extern TFT_max_pressure
heinrichsweikamp
parents:
diff changeset
58 extern TFT_active_gas_divemode
heinrichsweikamp
parents:
diff changeset
59 extern TFT_divemode_mask
heinrichsweikamp
parents:
diff changeset
60 extern TFT_display_ndl_mask
heinrichsweikamp
parents:
diff changeset
61 extern TFT_show_TTS_divemode
heinrichsweikamp
parents:
diff changeset
62 extern TFT_display_ndl
heinrichsweikamp
parents:
diff changeset
63 extern TFT_display_deko_mask
heinrichsweikamp
parents:
diff changeset
64 extern TFT_divemode_warning
heinrichsweikamp
parents:
diff changeset
65 extern TFT_divemode_warning_clear
heinrichsweikamp
parents:
diff changeset
66 extern TFT_display_velocity_clear
heinrichsweikamp
parents:
diff changeset
67 extern TFT_display_velocity
heinrichsweikamp
parents:
diff changeset
68 extern TFT_clear_customview_divemode
heinrichsweikamp
parents:
diff changeset
69 extern TFT_display_deko
heinrichsweikamp
parents:
diff changeset
70 extern TFT_display_ppo2
heinrichsweikamp
parents:
diff changeset
71 extern TFT_update_batt_percent_divemode
heinrichsweikamp
parents:
diff changeset
72 extern TFT_display_apnoe_descent
heinrichsweikamp
parents:
diff changeset
73 extern TFT_apnoe_clear_surface
heinrichsweikamp
parents:
diff changeset
74 extern TFT_display_apnoe_surface
heinrichsweikamp
parents:
diff changeset
75 extern TFT_display_apnoe_last_max
heinrichsweikamp
parents:
diff changeset
76 extern TFT_ftts
heinrichsweikamp
parents:
diff changeset
77 extern TFT_clear_warning_text
heinrichsweikamp
parents:
diff changeset
78 extern TFT_clear_warning_text_2nd_row
heinrichsweikamp
parents:
diff changeset
79 extern TFT_warning_gf
heinrichsweikamp
parents:
diff changeset
80 extern TFT_update_hud ; Update HUD data
heinrichsweikamp
parents:
diff changeset
81 extern TFT_hud_mask ; The HUD mask
heinrichsweikamp
parents:
diff changeset
82 extern TFT_mask_avr_stopwatch ; Show mask for average depth and stopwatch
heinrichsweikamp
parents:
diff changeset
83 extern TFT_update_avr_stopwatch ; Update average depth and stopwatch
heinrichsweikamp
parents:
diff changeset
84 extern TFT_decoplan ; Decoplan
heinrichsweikamp
parents:
diff changeset
85 extern TFT_clear_divemode_menu ; Clear the divemode menu
heinrichsweikamp
parents:
diff changeset
86 extern TFT_divemode_menu_cursor ; the divemode cursor
heinrichsweikamp
parents:
diff changeset
87 extern TFT_ead_end_tissues_clock_mask ; Setup Mask
heinrichsweikamp
parents:
diff changeset
88 extern TFT_ead_end_tissues_clock ; Show EAD/END, Tissues and clock
heinrichsweikamp
parents:
diff changeset
89 extern TFT_gf_mask ; Setup Mask
heinrichsweikamp
parents:
diff changeset
90 extern TFT_gf_info ; Show GF informations
heinrichsweikamp
parents:
diff changeset
91 extern TFT_warning_agf ; Show a warning if aGF is selected
heinrichsweikamp
parents:
diff changeset
92 extern TFT_dive_compass_mask ; Compass mask
heinrichsweikamp
parents:
diff changeset
93 extern TFT_dive_compass_heading ; Compass heading
53
2825f1d2262f NEW: Dynamic Gaslist in OC mode (Divemode, Customview 7)
heinrichsweikamp
parents: 50
diff changeset
94 extern TFT_dyn_gaslist ; Show the dyn gaslist
55
448ba265fdae Change "O2" warning to "ppO2"
heinrichsweikamp
parents: 53
diff changeset
95 extern TFT_divetimeout ; Show timeout counter
53
2825f1d2262f NEW: Dynamic Gaslist in OC mode (Divemode, Customview 7)
heinrichsweikamp
parents: 50
diff changeset
96
0
heinrichsweikamp
parents:
diff changeset
97
heinrichsweikamp
parents:
diff changeset
98 ; Misc
heinrichsweikamp
parents:
diff changeset
99 extern TFT_standard_color
heinrichsweikamp
parents:
diff changeset
100 extern TFT_disabled_color
50
ec4d8503ec45 NEW: user-selectable color schemes
heinrichsweikamp
parents: 41
diff changeset
101 extern TFT_attention_color
ec4d8503ec45 NEW: user-selectable color schemes
heinrichsweikamp
parents: 41
diff changeset
102 extern TFT_warnings_color
0
heinrichsweikamp
parents:
diff changeset
103 extern adjust_depth_with_salinity
heinrichsweikamp
parents:
diff changeset
104 extern TFT_convert_date_short
heinrichsweikamp
parents:
diff changeset
105 extern TFT_convert_signed_16bit
heinrichsweikamp
parents:
diff changeset
106 extern TFT_convert_date
heinrichsweikamp
parents:
diff changeset
107 extern TFT_debug_output
heinrichsweikamp
parents:
diff changeset
108 extern TFT_show_time_date_menu
heinrichsweikamp
parents:
diff changeset
109 extern convert_mbar_to_feet ; convert value in lo:hi from mbar to feet
heinrichsweikamp
parents:
diff changeset
110 extern convert_celsius_to_fahrenheit ; convert value in lo:hi from celsius to fahrenheit