Mercurial > public > hwos_code
comparison src/tft_outputs.inc @ 582:b455b31ce022
work on 2.97 stable
| author | heinrichsweikamp |
|---|---|
| date | Mon, 26 Feb 2018 16:40:28 +0100 |
| parents | b7eb98dbd800 |
| children | ca4556fb60b9 |
comparison
equal
deleted
inserted
replaced
| 581:f5de1ff88814 | 582:b455b31ce022 |
|---|---|
| 1 ;============================================================================= | 1 ;============================================================================= |
| 2 ; | 2 ; |
| 3 ; File tft_outputs.inc REFACTORED VERSION V2.94 | 3 ; File tft_outputs.inc REFACTORED VERSION V2.97 |
| 4 ; | 4 ; |
| 5 ; | 5 ; |
| 6 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved. | 6 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved. |
| 7 ;============================================================================= | 7 ;============================================================================= |
| 8 ; HISTORY | 8 ; HISTORY |
| 9 ; 2011-08-07 : [mH] moving from OSTC code | 9 ; 2011-08-07 : [mH] moving from OSTC code |
| 10 | 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 | 11 ; Surface mode |
| 19 extern TFT_surface_lastdive | 12 extern TFT_surface_lastdive |
| 20 extern TFT_show_OC_startgas_surface ; Show first gas and "OSTC2-like" active gases | 13 extern TFT_show_OC_startgas_surface ; Show first gas and "OSTC2-like" active gases |
| 21 extern TFT_serial | 14 extern TFT_serial |
| 22 extern TFT_clock | 15 extern TFT_clock |
| 23 extern TFT_date | 16 extern TFT_date |
| 24 extern TFT_desaturation_time | 17 extern TFT_desaturation_time |
| 25 extern TFT_nofly_time | 18 extern TFT_nofly_time |
| 26 extern TFT_gaslist_surfmode | 19 extern TFT_gaslist_surfmode |
| 27 extern TFT_dillist_surfmode | 20 extern TFT_dillist_surfmode |
| 28 extern TFT_splist_surfmode ; Show Setpoint list | 21 extern TFT_splist_surfmode ; Show Setpoint list |
| 29 extern TFT_temp_surfmode | 22 extern TFT_temp_surfmode |
| 30 extern TFT_update_batt_voltage | 23 extern TFT_update_batt_voltage |
| 31 extern TFT_display_decotype_surface | 24 extern TFT_display_decotype_surface |
| 32 extern TFT_display_decotype_surface1 ; Used from logbook! | 25 extern TFT_display_decotype_surface1 ; Used from logbook! |
| 33 extern TFT_update_surf_press | 26 extern TFT_update_surf_press |
| 34 extern TFT_surface_sensor ; Update HUD data in surface mode | 27 extern TFT_surface_sensor ; Update HUD data in surface mode |
| 35 extern TFT_sensor_surface_warning | 28 extern TFT_sensor_surface_warning |
| 36 extern TFT_menu_calibrate ; Update mV data in menu | 29 extern TFT_menu_calibrate ; Update mV data in menu |
| 37 extern TFT_custom_text ; The custom text | 30 extern TFT_custom_text ; The custom text |
| 38 extern TFT_surface_tissues ; Show Tissue diagram in surface mode | 31 extern TFT_surface_tissues ; Show Tissue diagram in surface mode |
| 39 extern TFT_surface_decosettings ; Show all deco settings | 32 extern TFT_surface_decosettings ; Show all deco settings |
| 40 extern TFT_cat_serial ; Add serial to current string | 33 extern TFT_cat_serial ; Add serial to current string |
| 41 extern TFT_cat_firmware ; Add firmware version to current string | 34 extern TFT_cat_firmware ; Add firmware version to current string |
| 42 | 35 |
| 43 ; Menu | 36 ; Menu |
| 44 extern TFT_LogOffset_Logtitle | 37 extern TFT_LogOffset_Logtitle |
| 45 extern TFT_show_color_schemes ; Yes, update the color schemes | 38 extern TFT_show_color_schemes ; Yes, update the color schemes |
| 46 | 39 |
| 47 ; Dive mode | 40 ; Dive mode |
| 48 extern TFT_display_cns | 41 extern TFT_display_cns |
| 49 extern TFT_divemins | 42 extern TFT_divemins |
| 50 extern TFT_depth | 43 extern TFT_depth |
| 67 extern TFT_display_apnoe_descent | 60 extern TFT_display_apnoe_descent |
| 68 extern TFT_apnoe_clear_surface | 61 extern TFT_apnoe_clear_surface |
| 69 extern TFT_display_apnoe_surface | 62 extern TFT_display_apnoe_surface |
| 70 extern TFT_display_apnoe_last_max | 63 extern TFT_display_apnoe_last_max |
| 71 extern TFT_display_ftts | 64 extern TFT_display_ftts |
| 72 extern TFT_clear_warning_text | 65 extern TFT_clear_warning_text |
| 73 extern TFT_clear_warning_text_2nd_row | 66 extern TFT_clear_warning_text_2nd_row |
| 74 extern TFT_warning_gf | 67 extern TFT_warning_gf |
| 75 extern TFT_update_ppo2_sensors ; Update Sensor data | 68 extern TFT_update_ppo2_sensors ; Update Sensor data |
| 76 extern TFT_hud_mask ; The HUD mask | 69 extern TFT_hud_mask ; The HUD mask |
| 77 extern TFT_mask_avr_stopwatch ; Show mask for average depth and stopwatch | 70 extern TFT_mask_avr_stopwatch ; Show mask for average depth and stopwatch |
| 78 extern TFT_update_avr_stopwatch ; Update average depth and stopwatch | 71 extern TFT_update_avr_stopwatch ; Update average depth and stopwatch |
| 79 extern TFT_decoplan ; Decoplan | 72 extern TFT_decoplan ; Decoplan |
| 80 extern TFT_clear_divemode_menu ; Clear the divemode menu | 73 extern TFT_clear_divemode_menu ; Clear the divemode menu |
| 81 extern TFT_draw_gassep_line ; Draw the gas separator grid line in spec mode only | 74 extern TFT_draw_gassep_line ; Draw the gas separator grid line in spec mode only |
| 82 extern TFT_divemode_menu_cursor ; the divemode cursor | 75 extern TFT_divemode_menu_cursor ; the divemode cursor |
| 83 extern TFT_battinfo_tissues_clock_mask ; Setup Mask | 76 extern TFT_battinfo_tissues_clock_mask ; Setup Mask |
| 84 extern TFT_battinfo_tissues_clock ; Show EAD/END, Tissues and clock | 77 extern TFT_battinfo_tissues_clock ; Show EAD/END, Tissues and clock |
| 85 extern TFT_gf_mask ; Setup Mask | 78 extern TFT_gf_mask ; Setup Mask |
| 86 extern TFT_gf_mask_cGF ; Setup Mask - current GF only | 79 extern TFT_gf_mask_cGF ; Setup Mask - current GF only |
| 87 extern TFT_gf_info ; Show GF informations | 80 extern TFT_gf_info ; Show GF informations |
| 88 extern TFT_warning_agf ; Show a warning if aGF is selected | 81 extern TFT_warning_agf ; Show a warning if aGF is selected |
| 89 extern TFT_divetimeout ; Show timeout counter | 82 extern TFT_divetimeout ; Show timeout counter |
| 90 extern TFT_show_safety_stop ; Show the safety stop | 83 extern TFT_show_safety_stop ; Show the safety stop |
| 91 extern TFT_clear_decoarea ; Cleanup deco area on screen | 84 extern TFT_clear_decoarea ; Cleanup deco area on screen |
| 92 extern TFT_ceiling_mask ; The ceiling mask | 85 extern TFT_ceiling_mask ; The ceiling mask |
| 93 extern TFT_ceiling ; Ceiling | 86 extern TFT_ceiling ; Ceiling |
| 94 extern TFT_clear_safety_stop ; Clear safety stop | 87 extern TFT_clear_safety_stop ; Clear safety stop |
| 95 extern TFT_warning_fallback ; Show fallback warning | 88 extern TFT_warning_fallback ; Show fallback warning |
| 96 extern TFT_sensor_check_mask ; Show ppO2 of O2 and Diluent mask | 89 extern TFT_sensor_check_mask ; Show ppO2 of O2 and Diluent mask |
| 97 extern TFT_sensor_check ; Show ppO2 of O2 and Diluent | 90 extern TFT_sensor_check ; Show ppO2 of O2 and Diluent |
| 98 extern TFT_ppo2_ead_end_cns_mask ; Show ppO2, END/EAD and CNS mask | 91 extern TFT_ppo2_ead_end_cns_mask ; Show ppO2, END/EAD and CNS mask |
| 99 extern TFT_ppo2_ead_end_cns ; Show ppO2, END/EAD and CNS | 92 extern TFT_ppo2_ead_end_cns ; Show ppO2, END/EAD and CNS |
| 100 extern TFT_pscr_info_mask ; Show ppO2, drop and lung ratio mask | 93 extern TFT_pscr_info_mask ; Show ppO2, drop and lung ratio mask |
| 101 extern TFT_pscr_info ; Show ppO2, drop and lung ratio | 94 extern TFT_pscr_info ; Show ppO2, drop and lung ratio |
| 102 extern TFT_gas_needs_mask | 95 extern TFT_gas_needs_mask |
| 103 extern TFT_gas_needs | 96 extern TFT_gas_needs |
| 104 extern TFT_warning_gas_needs_warn | 97 extern TFT_warning_gas_needs_warn |
| 105 extern TFT_warning_gas_needs_att | 98 extern TFT_warning_gas_needs_att |
| 106 extern TFT_warning_sensor_disagree | 99 extern TFT_warning_sensor_disagree |
| 113 extern TFT_display_pure_ppo2 | 106 extern TFT_display_pure_ppo2 |
| 114 extern TFT_info_deco | 107 extern TFT_info_deco |
| 115 extern TFT_show_mode_divemode | 108 extern TFT_show_mode_divemode |
| 116 | 109 |
| 117 ; Misc | 110 ; Misc |
| 118 extern TFT_standard_color | 111 extern TFT_standard_color |
| 119 extern TFT_disabled_color | 112 extern TFT_disabled_color |
| 120 extern TFT_attention_color | 113 extern TFT_attention_color |
| 121 extern TFT_warnings_color | 114 extern TFT_warnings_color |
| 122 extern TFT_divemask_color | 115 extern TFT_divemask_color |
| 123 extern adjust_depth_with_salinity ; computes salinity setting into lo:hi [mbar] | 116 extern adjust_depth_with_salinity ; computes salinity setting into lo:hi [mbar] |
| 124 extern adjust_depth_with_salinity_log ; computes salinity setting (FROM WREG!) into lo:hi [mbar] | 117 extern adjust_depth_with_salinity_log ; computes salinity setting (FROM WREG!) into lo:hi [mbar] |
| 125 extern TFT_convert_date_short | 118 extern TFT_convert_date_short |
| 126 extern TFT_convert_signed_16bit | 119 extern TFT_convert_signed_16bit |
| 127 extern TFT_convert_date | 120 extern TFT_convert_date |
| 128 extern TFT_debug_output | 121 extern TFT_debug_output |
| 129 extern TFT_show_time_date_menu | 122 extern TFT_show_time_date_menu |
| 130 extern convert_mbar_to_feet ; convert value in lo:hi from mbar to feet | 123 extern convert_mbar_to_feet ; convert value in lo:hi from mbar to feet |
| 131 extern convert_celsius_to_fahrenheit ; convert value in lo:hi from celsius to fahrenheit | 124 extern convert_celsius_to_fahrenheit ; convert value in lo:hi from celsius to fahrenheit |
| 132 | 125 extern TFT_color_code_gas |
| 126 extern TFT_color_code_gaslist | |
| 127 extern TFT_color_code_cns | |
| 128 | |
| 133 ; Alt dive mode (aka Blind mode) | 129 ; Alt dive mode (aka Blind mode) |
| 134 extern TFT_divemins_alternative | 130 extern TFT_divemins_alternative |
| 135 extern TFT_divemode_mask_alternative | 131 extern TFT_divemode_mask_alternative |
| 136 extern TFT_max_depth_alternative | 132 extern TFT_max_depth_alternative |
| 137 extern TFT_big_deco_alt ; The big deco | 133 extern TFT_big_deco_alt ; The big deco |
