comparison src/logbook.asm @ 433:b22c732f858a

minor
author heinrichsweikamp
date Wed, 22 Jun 2016 12:56:27 +0200
parents 929feb0da4f5
children a001f170a1f7
comparison
equal deleted inserted replaced
432:929feb0da4f5 433:b22c732f858a
222 dcfsnz temp1,F 222 dcfsnz temp1,F
223 movlw .7*logbook_row_offset 223 movlw .7*logbook_row_offset
224 dcfsnz temp1,F 224 dcfsnz temp1,F
225 movlw .8*logbook_row_offset 225 movlw .8*logbook_row_offset
226 226
227 movff WREG,win_top 227 movwf win_top
228 STRCPY_PRINT "\xB7" 228 STRCPY_PRINT "\xB7"
229 return 229 return
230 230
231 global logbook 231 global logbook
232 logbook: 232 logbook:
727 movwf win_leftx2 ; Left border (0-159) 727 movwf win_leftx2 ; Left border (0-159)
728 movlw d'1' 728 movlw d'1'
729 movwf win_height 729 movwf win_height
730 movlw profile_width_pixels+.1 730 movlw profile_width_pixels+.1
731 movwf win_width+0 ; Right border (0-159) 731 movwf win_width+0 ; Right border (0-159)
732 clrf win_width+1
732 bra display_profile2f ; No 0m line 733 bra display_profile2f ; No 0m line
733 display_profile2e: 734 display_profile2e:
734 call TFT_box ; Inputs: win_top, win_leftx2, win_height, win_width, win_color1, win_color2 735 call TFT_box ; Inputs: win_top, win_leftx2, win_height, win_width, win_color1, win_color2
735 display_profile2f: 736 display_profile2f:
736 movf win_top,W ; Get row 737 movf win_top,W ; Get row