comparison src/tft_outputs.asm @ 485:18e047102e49

3.14 BETA release
author heinrichsweikamp
date Mon, 20 Feb 2017 15:49:38 +0100
parents c0ee33f1f399
children 5c7bee6df71c
comparison
equal deleted inserted replaced
484:ff2994528e02 485:18e047102e49
1907 STRCPY_TEXT_PRINT tDiveBailout ; Bailout 1907 STRCPY_TEXT_PRINT tDiveBailout ; Bailout
1908 bra TFT_active_setpoint_diluent 1908 bra TFT_active_setpoint_diluent
1909 1909
1910 TFT_show_pscr_mode_divemode: 1910 TFT_show_pscr_mode_divemode:
1911 WIN_TINY dm_active_dil_column, dm_active_dil_row+.1 1911 WIN_TINY dm_active_dil_column, dm_active_dil_row+.1
1912 btfsc is_bailout ; =1: Bailout
1913 bra TFT_show_pscr_mode_divemode_bail ; Show "Bailout" instead of PSCR
1912 STRCPY_TEXT_PRINT tDvPSCR ; PSCR 1914 STRCPY_TEXT_PRINT tDvPSCR ; PSCR
1913 return 1915 return
1914 1916
1917 TFT_show_pscr_mode_divemode_bail:
1918 STRCPY_TEXT_PRINT tDiveBailout ; Bailout
1919 return
1915 1920
1916 global TFT_active_gas_divemode 1921 global TFT_active_gas_divemode
1917 TFT_active_gas_divemode: ; Display gas/Setpoint 1922 TFT_active_gas_divemode: ; Display gas/Setpoint
1918 btfsc divemode_menu ; Is the dive mode menu shown? 1923 btfsc divemode_menu ; Is the dive mode menu shown?
1919 return ; Yes, return 1924 return ; Yes, return
3717 3722
3718 global TFT_display_ppo2_val 3723 global TFT_display_ppo2_val
3719 TFT_display_ppo2_val: 3724 TFT_display_ppo2_val:
3720 btfss FLAG_pscr_mode 3725 btfss FLAG_pscr_mode
3721 bra TFT_display_ppo2_val_non_pscr ; Non-PSCR modes... 3726 bra TFT_display_ppo2_val_non_pscr ; Non-PSCR modes...
3727 btfsc is_bailout
3728 bra TFT_display_ppo2_val_non_pscr ; In bailout
3729
3722 ; in PSCR mode 3730 ; in PSCR mode
3723 call compute_pscr_ppo2 ; pSCR ppO2 into sub_c:2 3731 call compute_pscr_ppo2 ; pSCR ppO2 into sub_c:2
3724 movff sub_c+0,xA+0 3732 movff sub_c+0,xA+0
3725 movff sub_c+1,xA+1 3733 movff sub_c+1,xA+1
3726 movlw d'100' 3734 movlw d'100'