comparison src/tft_outputs.asm @ 188:ebc28381f17d

NEW: Show Bailout Gas List in Surface mode (CCR Modes) CHANGE: Faster update rate for sensor display in surface mode
author heinrichsweikamp
date Mon, 27 Oct 2014 11:28:48 +0100
parents 669b5d00706d
children e79bc535ef9e
comparison
equal deleted inserted replaced
187:669b5d00706d 188:ebc28381f17d
1046 TFT_update_hud6: 1046 TFT_update_hud6:
1047 bcf leftbind 1047 bcf leftbind
1048 call TFT_standard_color 1048 call TFT_standard_color
1049 return 1049 return
1050 1050
1051 global TFT_surface_hud ; Update HUD data in surface mode 1051 global TFT_surface_sensor ; Update Sensor data in surface mode
1052 TFT_surface_hud: 1052 TFT_surface_sensor:
1053 ; show three sensors 1053 ; show three sensors
1054 bsf leftbind 1054 bsf leftbind
1055 WIN_SMALL surf_hud_sensor1_column,surf_hud_sensor1_row 1055 WIN_SMALL surf_hud_sensor1_column,surf_hud_sensor1_row
1056 movff o2_ppo2_sensor1,lo 1056 movff o2_ppo2_sensor1,lo
1057 tstfsz lo ; ppO2=0 (No data/failure)? 1057 tstfsz lo ; ppO2=0 (No data/failure)?
1058 bra TFT_surface_hud1 ; No 1058 bra TFT_surface_sensor1 ; No
1059 call TFT_standard_color 1059 call TFT_standard_color
1060 STRCPY_PRINT "--- " 1060 STRCPY_PRINT "--- "
1061 bra TFT_surface_hud2 ; Skip Sensor 1 1061 bra TFT_surface_sensor2 ; Skip Sensor 1
1062 TFT_surface_hud1: 1062 TFT_surface_sensor1:
1063 TFT_color_code warn_ppo2_hud ; With ppO2 [cbar] in lo 1063 TFT_color_code warn_ppo2_hud ; With ppO2 [cbar] in lo
1064 clrf hi 1064 clrf hi
1065 output_16dp .3 ; x.xx bar 1065 output_16dp .3 ; x.xx bar
1066 STRCAT_PRINT "" 1066 STRCAT_PRINT ""
1067 TFT_surface_hud2: 1067 TFT_surface_sensor2:
1068 WIN_SMALL surf_hud_sensor2_column,surf_hud_sensor2_row 1068 WIN_SMALL surf_hud_sensor2_column,surf_hud_sensor2_row
1069 movff o2_ppo2_sensor2,lo 1069 movff o2_ppo2_sensor2,lo
1070 tstfsz lo ; ppO2=0 (No data/failure)? 1070 tstfsz lo ; ppO2=0 (No data/failure)?
1071 bra TFT_surface_hud3 ; No 1071 bra TFT_surface_sensor3 ; No
1072 call TFT_standard_color 1072 call TFT_standard_color
1073 STRCPY_PRINT "--- " 1073 STRCPY_PRINT "--- "
1074 bra TFT_surface_hud4 ; Skip Sensor 2 1074 bra TFT_surface_sensor4 ; Skip Sensor 2
1075 TFT_surface_hud3: 1075 TFT_surface_sensor3:
1076 TFT_color_code warn_ppo2_hud ; With ppO2 [cbar] in lo 1076 TFT_color_code warn_ppo2_hud ; With ppO2 [cbar] in lo
1077 clrf hi 1077 clrf hi
1078 output_16dp .3 ; x.xx bar 1078 output_16dp .3 ; x.xx bar
1079 STRCAT_PRINT "" 1079 STRCAT_PRINT ""
1080 TFT_surface_hud4: 1080 TFT_surface_sensor4:
1081 WIN_SMALL surf_hud_sensor3_column,surf_hud_sensor3_row 1081 WIN_SMALL surf_hud_sensor3_column,surf_hud_sensor3_row
1082 movff o2_ppo2_sensor3,lo 1082 movff o2_ppo2_sensor3,lo
1083 tstfsz lo ; ppO2=0 (No data/failure)? 1083 tstfsz lo ; ppO2=0 (No data/failure)?
1084 bra TFT_surface_hud5 ; No 1084 bra TFT_surface_sensor5 ; No
1085 call TFT_standard_color 1085 call TFT_standard_color
1086 STRCPY_PRINT "--- " 1086 STRCPY_PRINT "--- "
1087 bra TFT_surface_hud6 ; Skip Sensor 3 1087 bra TFT_surface_sensor6 ; Skip Sensor 3
1088 TFT_surface_hud5: 1088 TFT_surface_sensor5:
1089 TFT_color_code warn_ppo2_hud ; With ppO2 [cbar] in lo 1089 TFT_color_code warn_ppo2_hud ; With ppO2 [cbar] in lo
1090 clrf hi 1090 clrf hi
1091 output_16dp .3 ; x.xx bar 1091 output_16dp .3 ; x.xx bar
1092 STRCAT_PRINT "" 1092 STRCAT_PRINT ""
1093 TFT_surface_hud6: 1093 TFT_surface_sensor6:
1094 bcf leftbind 1094 bcf leftbind
1095 call TFT_standard_color 1095 call TFT_standard_color
1096 return 1096 return
1097 1097
1098 global TFT_menu_hud 1098 global TFT_menu_hud