comparison code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 84:0f4c175ef824

FIX flickering in new CF menus
author JeanDo
date Wed, 08 Dec 2010 02:03:11 +0100
parents 3e351e25f5d1
children 8d3c1bef6551
comparison
equal deleted inserted replaced
83:3e351e25f5d1 84:0f4c175ef824
892 DISPLAYTEXTH .279 ; Calculate Deco 892 DISPLAYTEXTH .279 ; Calculate Deco
893 DISPLAYTEXTH .280 ; Show Decoplan 893 DISPLAYTEXTH .280 ; Show Decoplan
894 DISPLAYTEXT .11 ; Exit 894 DISPLAYTEXT .11 ; Exit
895 return 895 return
896 896
897
898
899
900 PLED_temp_surfmode: 897 PLED_temp_surfmode:
901 ostc_debug 'e' 898 ostc_debug 'e'
902 movff temperature+0,last_temperature+0 899 movff temperature+0,last_temperature+0
903 movff temperature+1,last_temperature+1 900 movff temperature+1,last_temperature+1
904 WIN_TOP .100 901 WIN_TOP .100
2852 WIN_TOP .0 2849 WIN_TOP .0
2853 WIN_LEFT .85 2850 WIN_LEFT .85
2854 WIN_FONT FT_SMALL 2851 WIN_FONT FT_SMALL
2855 WIN_INVERT .0 ; Init new Wordprocessor 2852 WIN_INVERT .0 ; Init new Wordprocessor
2856 call PLED_standard_color 2853 call PLED_standard_color
2854
2857 lfsr FSR2,letter 2855 lfsr FSR2,letter
2858 movlw 0xB8 2856 movlw 0xB8
2859 movwf POSTINC2 2857 movwf POSTINC2
2860 call word_processor 2858 call word_processor
2859
2861 WIN_TOP .25 2860 WIN_TOP .25
2862 WIN_LEFT .85
2863 WIN_FONT FT_SMALL
2864 WIN_INVERT .0 ; Init new Wordprocessor
2865 call PLED_standard_color
2866 lfsr FSR2,letter 2861 lfsr FSR2,letter
2867 movlw 0xB8 2862 movlw 0xB8
2868 movwf POSTINC2 2863 movwf POSTINC2
2869 call word_processor 2864 call word_processor
2865
2870 WIN_TOP .50 2866 WIN_TOP .50
2871 WIN_LEFT .85
2872 WIN_FONT FT_SMALL
2873 WIN_INVERT .0 ; Init new Wordprocessor
2874 call PLED_standard_color
2875 lfsr FSR2,letter 2867 lfsr FSR2,letter
2876 movlw 0xB8 2868 movlw 0xB8
2877 movwf POSTINC2 2869 movwf POSTINC2
2878 call word_processor 2870 call word_processor
2871
2879 WIN_TOP .75 2872 WIN_TOP .75
2880 WIN_LEFT .85
2881 WIN_FONT FT_SMALL
2882 WIN_INVERT .0 ; Init new Wordprocessor
2883 call PLED_standard_color
2884 lfsr FSR2,letter 2873 lfsr FSR2,letter
2885 movlw 0xB8 2874 movlw 0xB8
2886 movwf POSTINC2 2875 movwf POSTINC2
2887 call word_processor 2876 call word_processor
2877
2888 WIN_TOP .100 2878 WIN_TOP .100
2889 WIN_LEFT .85
2890 WIN_FONT FT_SMALL
2891 WIN_INVERT .0 ; Init new Wordprocessor
2892 call PLED_standard_color
2893 lfsr FSR2,letter 2879 lfsr FSR2,letter
2894 movlw 0xB8 2880 movlw 0xB8
2895 movwf POSTINC2 2881 movwf POSTINC2
2896 call word_processor 2882 call word_processor
2897 2883
2906 dcfsnz temp1,F 2892 dcfsnz temp1,F
2907 movlw d'75' 2893 movlw d'75'
2908 dcfsnz temp1,F 2894 dcfsnz temp1,F
2909 movlw d'100' 2895 movlw d'100'
2910 movff WREG,win_top 2896 movff WREG,win_top
2911 WIN_LEFT .85
2912 WIN_FONT FT_SMALL
2913 WIN_INVERT .0 ; Init new Wordprocessor
2914 call PLED_standard_color
2915 2897
2916 lfsr FSR2,letter 2898 lfsr FSR2,letter
2917 movlw 0xB7 ; Arrow for menu 2899 movlw 0xB7 ; Arrow for menu
2918 movwf POSTINC2 2900 movwf POSTINC2
2919 call word_processor 2901 call word_processor