Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 666:3282581fe178
Allow gf switch
author | heinrichsweikamp |
---|---|
date | Sun, 02 Dec 2012 19:19:11 +0100 |
parents | 259e4c1bf3c2 |
children | 3927bc5019c9 |
comparison
equal
deleted
inserted
replaced
665:259e4c1bf3c2 | 666:3282581fe178 |
---|---|
888 movff hi,lo | 888 movff hi,lo |
889 output_99x | 889 output_99x |
890 STRCAT_PRINT " " | 890 STRCAT_PRINT " " |
891 return | 891 return |
892 | 892 |
893 PLED_show_gf_customview: | |
894 WIN_LEFT .93 | |
895 WIN_FONT FT_SMALL | |
896 WIN_INVERT .0 ; Init new Wordprocessor | |
897 call PLED_divemask_color ; Set Color for Divemode mask | |
898 DISPLAYTEXTH .268 ;"Gradient Factors" | |
899 | |
900 GETCUSTOM8 d'64' ; Set to grey | |
901 call PLED_set_color | |
902 btfss use_aGF | |
903 call PLED_standard_color | |
904 | |
905 WIN_TOP .192 | |
906 STRCPY TXT_GF3 ; "GF:" | |
907 GETCUSTOM8 d'32' ; GF_lo | |
908 movwf lo | |
909 bsf leftbind | |
910 output_8 | |
911 STRCAT "/" | |
912 GETCUSTOM8 d'33' ; GF_hi | |
913 movwf lo | |
914 output_8 | |
915 STRCAT_PRINT "" | |
916 | |
917 GETCUSTOM8 d'64' ; Set to grey | |
918 call PLED_set_color | |
919 btfsc use_aGF | |
920 call PLED_standard_color | |
921 | |
922 WIN_TOP .216 | |
923 STRCPY TXT_aGF4 ; "aGF:" | |
924 GETCUSTOM8 d'67' ; aGF_lo | |
925 movwf lo | |
926 bsf leftbind | |
927 output_8 | |
928 STRCAT "/" | |
929 GETCUSTOM8 d'68' ; aGF_hi | |
930 movwf lo | |
931 output_8 | |
932 STRCAT_PRINT "" | |
933 bcf leftbind | |
934 | |
935 call PLED_standard_color | |
936 return | |
893 | 937 |
894 PLED_show_cf11_cf12_cf29:; Display saturations/desaturation multiplier and last deco in the customview field | 938 PLED_show_cf11_cf12_cf29:; Display saturations/desaturation multiplier and last deco in the customview field |
895 WIN_TOP .25 | 939 WIN_TOP .25 |
896 WIN_LEFT .90 | 940 WIN_LEFT .90 |
897 WIN_FONT FT_SMALL | 941 WIN_FONT FT_SMALL |