comparison code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 313:11be2470b9eb @5 variant

Fix @5 preventing main computation New display style New display deco_state in debug mode.
author JeanDo
date Tue, 03 May 2011 15:54:09 +0200
parents b7e4e74c0e17
children c61d94186f8f
comparison
equal deleted inserted replaced
312:b7e4e74c0e17 313:11be2470b9eb
3125 ; 3125 ;
3126 PLED_show_@5: 3126 PLED_show_@5:
3127 call PLED_divemask_color ; Set Color for Divemode mask 3127 call PLED_divemask_color ; Set Color for Divemode mask
3128 3128
3129 WIN_FONT FT_SMALL 3129 WIN_FONT FT_SMALL
3130 WIN_LEFT .95 3130 WIN_LEFT .160-.63 ; 9 chars aligned right.
3131 WIN_TOP .216 3131 WIN_TOP .170
3132 STRCPY_PRINT "ExtraTime" ; Title
3133
3134 WIN_LEFT .102
3135 WIN_TOP .194
3132 STRCPY "@" 3136 STRCPY "@"
3133 GETCUSTOM8 d'58' 3137 GETCUSTOM8 d'58'
3134 movwf lo 3138 movwf lo
3135 bsf leftbind 3139 bsf leftbind
3136 output_8 3140 output_8
3137 bcf leftbind 3141 bcf leftbind
3138 STRCAT_PRINT "': " 3142 STRCAT_PRINT "':"
3139 3143
3140 WIN_LEFT .95+7*5 3144 WIN_LEFT .102+7*5 ; "@10':" is 5 chars long
3141 call PLED_standard_color 3145 call PLED_standard_color
3146
3142 lfsr FSR2,letter 3147 lfsr FSR2,letter
3143 movff int_O_extra_ascenttime+0,lo 3148 movff int_O_extra_ascenttime+0,lo
3144 movff int_O_extra_ascenttime+1,hi 3149 movff int_O_extra_ascenttime+1,hi
3145 movf lo,W 3150 movf lo,W
3146 iorwf hi,W 3151 iorwf hi,W
3147 bz PLED_show_@5_wait 3152 bz PLED_show_@5_wait
3148 bsf leftbind 3153 bsf leftbind
3149 output_16 3154 output_16
3150 bcf leftbind 3155 bcf leftbind
3151 STRCAT_PRINT "' " ; From "xxx'" to "1' " we need 2 trailing spaces 3156 STRCAT_PRINT "' " ; From "999'" to "1' " we need 2 trailing spaces
3152 return 3157 return
3153 3158
3154 PLED_show_@5_wait: 3159 PLED_show_@5_wait:
3155 STRCPY_PRINT "xxx'" 3160 STRCPY_PRINT "xx' "
3156 return 3161 return
3157 3162
3158 ;============================================================================= 3163 ;=============================================================================
3159 3164
3160 PLED_show_leading_tissue: 3165 PLED_show_leading_tissue: