Mercurial > public > hwos_code
comparison src/customview.asm @ 333:14b466f66a7f new_screen_layout
Extend the Ceiling custom-view with ppO2 and current GF
author | Janos Kovacs <kovjanos@gmail.com> |
---|---|
date | Sun, 28 Jun 2015 03:30:03 +0200 |
parents | ca5df826437a |
children | 508d7fb98b34 |
comparison
equal
deleted
inserted
replaced
332:0ff81ff290ce | 333:14b466f66a7f |
---|---|
75 customview_1sec_view8: ; Sensor voltages | 75 customview_1sec_view8: ; Sensor voltages |
76 call TFT_hud_voltages ; Show HUD details | 76 call TFT_hud_voltages ; Show HUD details |
77 return | 77 return |
78 customview_1sec_view9: ; Ceiling | 78 customview_1sec_view9: ; Ceiling |
79 call TFT_ceiling ; Show Ceiling | 79 call TFT_ceiling ; Show Ceiling |
80 | |
81 TSTOSS opt_extceiling ; 0=skip, 1=draw | |
82 return | |
83 | |
84 ; ppO2 value | |
85 call TFT_display_ppo2_val | |
86 | |
87 ; current GF value | |
88 extern char_I_deco_model | |
89 TSTOSS char_I_deco_model ; 0 = ZH-L16, 1 = ZH-L16-GF | |
90 return ; No GF info for non-GF modes | |
91 call TFT_gf_info ; Update GF informations | |
92 | |
80 return | 93 return |
81 | 94 |
82 | 95 |
83 ;============================================================================= | 96 ;============================================================================= |
84 ; Do every-minute tasks for the custom view area | 97 ; Do every-minute tasks for the custom view area |
476 bra customview_toggle ; yes, Call next view... | 489 bra customview_toggle ; yes, Call next view... |
477 btfsc FLAG_gauge_mode ; In Gauge mode? | 490 btfsc FLAG_gauge_mode ; In Gauge mode? |
478 bra customview_toggle ; Yes, Call next view... | 491 bra customview_toggle ; Yes, Call next view... |
479 call TFT_ceiling_mask ; Setup mask | 492 call TFT_ceiling_mask ; Setup mask |
480 call TFT_ceiling ; Show Ceiling | 493 call TFT_ceiling ; Show Ceiling |
494 | |
495 TSTOSS opt_extceiling ; 0=skip, 1=draw | |
496 bra customview_toggle_exit | |
497 | |
498 ; ppO2 value | |
499 call TFT_mask_ppo2 | |
500 call TFT_display_ppo2_val | |
501 | |
502 ; current GF value | |
503 extern char_I_deco_model | |
504 TSTOSS char_I_deco_model ; 0 = ZH-L16, 1 = ZH-L16-GF | |
505 bra customview_toggle_exit ; No GF info for non-GF modes | |
506 call TFT_gf_mask_cGF ; Setup Mask - current GF only | |
507 call TFT_gf_info ; Show GF informations | |
508 | |
481 bra customview_toggle_exit | 509 bra customview_toggle_exit |
482 | 510 |
483 | 511 |
484 customview_toggle_exit: | 512 customview_toggle_exit: |
485 call TFT_standard_color | 513 call TFT_standard_color |