Mercurial > public > hwos_code
comparison src/logbook.asm @ 492:336bfbbeb2b5
2.15 rc
author | heinrichsweikamp |
---|---|
date | Thu, 30 Mar 2017 11:28:40 +0200 |
parents | 8dfb93e80338 |
children | 2b1239e6ea85 |
comparison
equal
deleted
inserted
replaced
491:66b9b8c082a9 | 492:336bfbbeb2b5 |
---|---|
916 bra profile_display_skip_marker ; No | 916 bra profile_display_skip_marker ; No |
917 | 917 |
918 ; tiny "m" | 918 ; tiny "m" |
919 incf apnoe_mins,W ; increase row (Y) | 919 incf apnoe_mins,W ; increase row (Y) |
920 movwf win_top | 920 movwf win_top |
921 movlw .4 | 921 ; limit win_top to 220 |
922 movwf win_height | 922 movlw .220 |
923 movlw .2 | 923 cpfslt win_top |
924 movwf win_width+0 | 924 movwf win_top |
925 clrf win_width+1 | |
926 decf logbook_pixel_x_pos,W ; decrease column (X) | 925 decf logbook_pixel_x_pos,W ; decrease column (X) |
927 movwf win_leftx2 | 926 movwf win_leftx2 |
927 ; limit win_leftx2 to 151 | |
928 movlw .151 | |
929 cpfslt win_leftx2 | |
930 movwf win_leftx2 | |
928 | 931 |
929 movlw color_orange | 932 movlw color_orange |
930 call TFT_set_color | 933 call TFT_set_color |
931 WIN_FONT FT_TINY | 934 WIN_FONT FT_TINY |
932 lfsr FSR2,buffer | 935 lfsr FSR2,buffer |
933 STRCPY_PRINT "m" | 936 STRCPY_PRINT "m" |
934 ; bcf log_marker_found ; Clear flag | 937 bcf log_marker_found ; Clear flag |
935 | 938 |
936 profile_display_skip_marker: | 939 profile_display_skip_marker: |
937 bcf log_marker_found ; Clear flag ; mH | |
938 ;---- Draw CNS curve, if any --------------------------------------------- | 940 ;---- Draw CNS curve, if any --------------------------------------------- |
939 movf divisor_cns,W | 941 movf divisor_cns,W |
940 bz profile_display_skip_cns | 942 bz profile_display_skip_cns |
941 ; | 943 ; |
942 ; TODO HERE | 944 ; TODO HERE |