comparison code_part1/OSTC_code_asm_part1/oled_samsung.asm @ 620:963383a9b624

minor
author heinrichsweikamp
date Sun, 05 Aug 2012 09:45:37 +0200
parents e3ffc6d62a63
children 9c13bf8a3033
comparison
equal deleted inserted replaced
619:85e8e1501fd8 620:963383a9b624
852 852
853 return 853 return
854 854
855 PLED_set_color:;Converts 8Bit RGB b'RRRGGGBB' into 16Bit RGB b'RRRRRGGG GGGBBBBB' 855 PLED_set_color:;Converts 8Bit RGB b'RRRGGGBB' into 16Bit RGB b'RRRRRGGG GGGBBBBB'
856 movwf oled1_temp ; Get 8Bit RGB b'RRRGGGBB' 856 movwf oled1_temp ; Get 8Bit RGB b'RRRGGGBB'
857 movff oled1_temp, oled2_temp ; Copy 857 movwf oled2_temp ; Copy
858 858
859 ; Mask Bit 7,6,5,4,3,2 859 ; Mask Bit 7,6,5,4,3,2
860 movlw b'00000011' 860 movlw b'00000011'
861 andwf oled2_temp,F 861 andwf oled2_temp,F
862 862
958 958
959 movff oled1_temp,win_color1 959 movff oled1_temp,win_color1
960 movff oled3_temp,win_color2 ; Set Bank0 Color registers... 960 movff oled3_temp,win_color2 ; Set Bank0 Color registers...
961 return 961 return
962 962
963