comparison code_part1/OSTC_code_asm_part1/outputs.asm @ 823:1a64088b49d3

Fix minor layout bugs in surface mode (CNS and GF display)
author heinrichsweikamp
date Mon, 22 Jun 2015 09:58:33 +0200
parents e49a35ab7394
children 2151c4135fad
comparison
equal deleted inserted replaced
822:fe0fbdc31abe 823:1a64088b49d3
4219 STRCPY TXT_CNS4 4219 STRCPY TXT_CNS4
4220 movff char_O_CNS_fraction,lo 4220 movff char_O_CNS_fraction,lo
4221 bsf leftbind 4221 bsf leftbind
4222 output_8 4222 output_8
4223 bcf leftbind 4223 bcf leftbind
4224 STRCAT_PRINT "% " 4224 STRCAT "% "
4225 movlw .0
4226 movff WREG,letter+.8 ; Limit to 8 chars
4227 STRCAT_PRINT ""
4225 return 4228 return
4226 4229
4227 ;----------------------------------------------------------------------------- 4230 ;-----------------------------------------------------------------------------
4228 ; Display GF at furface, if > CF8. 4231 ; Display GF at furface, if > CF8.
4229 ; 4232 ;
4241 DISP_color_code warn_gf ; Color-code Output 4244 DISP_color_code warn_gf ; Color-code Output
4242 4245
4243 STRCPY TXT_GF3 4246 STRCPY TXT_GF3
4244 movff char_O_gradient_factor,lo ; gradient factor 4247 movff char_O_gradient_factor,lo ; gradient factor
4245 output_8 4248 output_8
4246 STRCAT_PRINT "% " 4249 STRCAT "% "
4250 movlw .0
4251 movff WREG,letter+.8 ; Limit to 8 chars
4252 STRCAT_PRINT ""
4247 goto DISP_standard_color 4253 goto DISP_standard_color
4248 4254
4249 ;----------------------------------------------------------------------------- 4255 ;-----------------------------------------------------------------------------
4250 4256
4251 DISP_custom_text: 4257 DISP_custom_text: