Mercurial > public > hwos_code
comparison src/tft_outputs.asm @ 122:3e84e2a64188
Show %'s for non-GF deco model in surface mode
author | heinrichsweikamp |
---|---|
date | Fri, 27 Jun 2014 16:55:49 +0200 |
parents | abd30446e1cd |
children | d076e9c02438 |
comparison
equal
deleted
inserted
replaced
121:d519e24ef990 | 122:3e84e2a64188 |
---|---|
1704 iorwf WREG | 1704 iorwf WREG |
1705 bnz TFT_surface_decosettings1 | 1705 bnz TFT_surface_decosettings1 |
1706 | 1706 |
1707 ; Display ZH-L16 sat/desat model. | 1707 ; Display ZH-L16 sat/desat model. |
1708 TEXT_SMALL surf_gaslist_column,surf_gaslist_row, tZHL16 | 1708 TEXT_SMALL surf_gaslist_column,surf_gaslist_row, tZHL16 |
1709 WIN_TOP surf_gaslist_row+(surf_gaslist_spacing*.2) | 1709 WIN_TOP surf_gaslist_row+(surf_gaslist_spacing*.1) |
1710 lfsr FSR2,buffer | 1710 lfsr FSR2,buffer |
1711 movff char_I_desaturation_multiplier,lo | 1711 movff char_I_desaturation_multiplier,lo |
1712 bsf leftbind | 1712 bsf leftbind |
1713 output_8 | 1713 output_8 |
1714 STRCAT "%/" | 1714 STRCAT "%/" |
1784 cpfsgt lo | 1784 cpfsgt lo |
1785 return | 1785 return |
1786 TFT_surface_compass_heading2: | 1786 TFT_surface_compass_heading2: |
1787 WIN_STD surf_compass_head_column,surf_compass_head_row | 1787 WIN_STD surf_compass_head_column,surf_compass_head_row |
1788 call TFT_standard_color | 1788 call TFT_standard_color |
1789 TFT_surface_compass_heading_common: ; Show "000° N" | 1789 TFT_surface_compass_heading_com: ; Show "000° N" |
1790 lfsr FSR2,buffer | 1790 lfsr FSR2,buffer |
1791 movff compass_heading+0,lo | 1791 movff compass_heading+0,lo |
1792 movff compass_heading+1,hi | 1792 movff compass_heading+1,hi |
1793 call TFT_convert_signed_16bit ; converts lo:hi into signed-short and adds '-' to POSTINC2 if required | 1793 call TFT_convert_signed_16bit ; converts lo:hi into signed-short and adds '-' to POSTINC2 if required |
1794 bsf leftbind | 1794 bsf leftbind |
1815 cpfsgt lo | 1815 cpfsgt lo |
1816 bra TFT_dive_compass_heading3 ; But update graph always in fast mode | 1816 bra TFT_dive_compass_heading3 ; But update graph always in fast mode |
1817 TFT_dive_compass_heading2: | 1817 TFT_dive_compass_heading2: |
1818 WIN_STD dive_compass_head_column,dive_compass_head_row | 1818 WIN_STD dive_compass_head_column,dive_compass_head_row |
1819 call TFT_standard_color | 1819 call TFT_standard_color |
1820 rcall TFT_surface_compass_heading_common ; Show "000° N" | 1820 rcall TFT_surface_compass_heading_com ; Show "000° N" |
1821 TFT_dive_compass_heading3: | 1821 TFT_dive_compass_heading3: |
1822 return ; No graphical output (yet) | 1822 return ; No graphical output (yet) |
1823 | 1823 |
1824 movff compass_heading+0,sub_a+0 | 1824 movff compass_heading+0,sub_a+0 |
1825 movff compass_heading+1,sub_a+1 | 1825 movff compass_heading+1,sub_a+1 |