Mercurial > public > hwos_code
comparison src/tft_outputs.asm @ 635:9a64914a8fca
3.10 re-release addressing some minor issues and language fixes
author | heinrichsweikamp |
---|---|
date | Thu, 07 May 2020 09:12:59 +0200 |
parents | 4050675965ea |
children | 2737ddc643bb |
comparison
equal
deleted
inserted
replaced
634:4050675965ea | 635:9a64914a8fca |
---|---|
2947 bra TFT_display_ftts_7 ; YES - take shortcut | 2947 bra TFT_display_ftts_7 ; YES - take shortcut |
2948 ENDIF | 2948 ENDIF |
2949 movff int_O_TST_alt+1,WREG ; get high byte of the alternative total stops time | 2949 movff int_O_TST_alt+1,WREG ; get high byte of the alternative total stops time |
2950 btfsc WREG,int_is_zero ; total stops time = zero ? | 2950 btfsc WREG,int_is_zero ; total stops time = zero ? |
2951 bra TFT_display_ftts_9 ; YES - show "NDL" | 2951 bra TFT_display_ftts_9 ; YES - show "NDL" |
2952 btfsc WREG,deco_zone ; NO - fTTS <= TTS ? | 2952 movff char_O_deco_info,WREG ; NO - get deco info vector |
2953 FONT_COLOR_ADVICE ; YES - set to advice color (green) | 2953 btfsc WREG,deco_zone ; - fTTS <= TTS ? |
2954 FONT_COLOR_ADVICE ; YES - set to advice color (green) | |
2954 TFT_display_ftts_7: | 2955 TFT_display_ftts_7: |
2955 bsf leftbind ; print left-aligned | 2956 bsf leftbind ; print left-aligned |
2956 output_999 ; print ascent time (0-999) | 2957 output_999 ; print ascent time (0-999) |
2957 PUTC "'" ; print minutes symbol | 2958 PUTC "'" ; print minutes symbol |
2958 bra TFT_message_close ; finalize message output | 2959 bra TFT_message_close ; finalize message output |
4713 mullw .82 ; multiply with 82 | 4714 mullw .82 ; multiply with 82 |
4714 movf PRODH,W ; divide by 256 -> resulting scale factor is 82/256 = 0.3203125 | 4715 movf PRODH,W ; divide by 256 -> resulting scale factor is 82/256 = 0.3203125 |
4715 addwf win_leftx2,F ; add to base position | 4716 addwf win_leftx2,F ; add to base position |
4716 movlw color_yellow ; color for GF high line | 4717 movlw color_yellow ; color for GF high line |
4717 BOX_COLOR ; draw line | 4718 BOX_COLOR ; draw line |
4719 bra TFT_dive_tissues_4 ; continue with number of leading tissue | |
4718 | 4720 |
4719 IFDEF _helium | 4721 IFDEF _helium |
4720 TFT_dive_tissues_3: | 4722 TFT_dive_tissues_3: |
4721 ; draw He tissues pressures | 4723 ; draw He tissues pressures |
4722 lfsr FSR2,char_O_tissue_pres_He ; load base address of He pressures | 4724 lfsr FSR2,char_O_tissue_pres_He ; load base address of He pressures |