comparison src/surfmode.asm @ 205:618191753d2b

Preparations for 1.7
author heinrichsweikamp
date Wed, 26 Nov 2014 14:30:25 +0100
parents 93085f540746
children 3b5df65d53fc
comparison
equal deleted inserted replaced
204:93085f540746 205:618191753d2b
115 WIN_TOP .0 115 WIN_TOP .0
116 WIN_LEFT .0 116 WIN_LEFT .0
117 WIN_FONT FT_SMALL 117 WIN_FONT FT_SMALL
118 bcf win_invert ; Reset invert flag 118 bcf win_invert ; Reset invert flag
119 119
120 ; call TFT_user_image ; Show the user image/text
121
122 WIN_COLOR color_lightblue 120 WIN_COLOR color_lightblue
123 WIN_SMALL menu_pos_column,menu_pos_row 121 WIN_SMALL menu_pos_column,menu_pos_row
124 STRCPY_TEXT_PRINT tMenu ;"<Menu" 122 STRCPY_TEXT_PRINT tMenu ;"<Menu"
125 WIN_SMALL view_column,view_row 123 WIN_SMALL view_column,view_row
126 STRCPY_TEXT_PRINT tView ;"View>" 124 STRCPY_TEXT_PRINT tView ;"View>"
263 bcf warning_active ; Clear flag 261 bcf warning_active ; Clear flag
264 clrf warning_counter ; Clear counter 262 clrf warning_counter ; Clear counter
265 263
266 ; Warnings for all modes 264 ; Warnings for all modes
267 call check_warn_battery ; Check if the battery level should be displayed/warned 265 call check_warn_battery ; Check if the battery level should be displayed/warned
268 call surfmode_check_for_nofly ; Check if nofly time should be shown 266 rcall surfmode_check_for_nofly ; Check if nofly time should be shown
269 call surfmode_check_for_desat ; Check if desat time should be shown 267 rcall surfmode_check_for_desat ; Check if desat time should be shown
270 call surfmode_check_for_interval ; Check if surface interval should be shown 268 rcall surfmode_check_for_interval ; Check if surface interval should be shown
271 269
272 btfsc FLAG_apnoe_mode ; Done for Apnoe or Gauge mode 270 btfsc FLAG_apnoe_mode ; Done for Apnoe or Gauge mode
273 bra surfmode_check_for_warnings2 271 bra surfmode_check_for_warnings2
274 btfsc FLAG_gauge_mode ; Done for Apnoe or Gauge mode 272 btfsc FLAG_gauge_mode ; Done for Apnoe or Gauge mode
275 bra surfmode_check_for_warnings2 273 bra surfmode_check_for_warnings2