Mercurial > public > hwos_code
comparison src/logbook.asm @ 434:a001f170a1f7
hunting a bug in the logbook (Day 3)
author | heinrichsweikamp |
---|---|
date | Wed, 22 Jun 2016 21:33:15 +0200 |
parents | b22c732f858a |
children | 0590b8fafc8d |
comparison
equal
deleted
inserted
replaced
433:b22c732f858a | 434:a001f170a1f7 |
---|---|
781 movwf win_width+0 | 781 movwf win_width+0 |
782 movlw HIGH (profile_width_pixels*.2) | 782 movlw HIGH (profile_width_pixels*.2) |
783 movwf win_width+1 | 783 movwf win_width+1 |
784 call TFT_box_write ; open box for d1 | 784 call TFT_box_write ; open box for d1 |
785 | 785 |
786 INIT_PIXEL_WRITE logbook_pixel_x_pos ; pixel x2 (Also sets standard Color!) | 786 ; INIT_PIXEL_WRITE logbook_pixel_x_pos ; pixel x2 (Also sets standard Color!) |
787 | 787 |
788 profile_display_loop: | 788 profile_display_loop: |
789 ; Init pixel write | |
790 movf logbook_pixel_x_pos,W | |
791 mullw 2 | |
792 call pixel_write_col320 | |
793 | |
789 movff profile_temp+0,profile_temp2+0 | 794 movff profile_temp+0,profile_temp2+0 |
790 movff profile_temp+1,profile_temp2+1 ; 16Bit x-scaler | 795 movff profile_temp+1,profile_temp2+1 ; 16Bit x-scaler |
791 incf profile_temp2+1,F | 796 incf profile_temp2+1,F |
792 tstfsz profile_temp2+0 ; Must not be Zero | 797 tstfsz profile_temp2+0 ; Must not be Zero |
793 bra profile_display_loop2 ; Not Zero! | 798 bra profile_display_loop2 ; Not Zero! |