comparison code_part1/OSTC_code_asm_part1/oled_samsung.asm @ 83:3e351e25f5d1

adding anti-aliased fonts frame and merging some patches from Jeando
author heinrichsweikamp
date Tue, 07 Dec 2010 22:36:19 +0100
parents 31fa973a70fd
children 6a94f96e9cea
comparison
equal deleted inserted replaced
82:bc3092c41335 83:3e351e25f5d1
48 endm 48 endm
49 49
50 50
51 word_processor: ; word_processor: 51 word_processor: ; word_processor:
52 clrf POSTINC2 ; Required! 52 clrf POSTINC2 ; Required!
53
54 ifdef AAFONTS
55 call aa_wordprocessor
56 movlb b'00000001' ; Back to Rambank1
57 else
53 movff win_color2,win_color2_temp 58 movff win_color2,win_color2_temp
54 movff win_color1,win_color1_temp 59 movff win_color1,win_color1_temp
55 call main_wordprocessor ; C-Code 60 call main_wordprocessor ; C-Code
56 movlb b'00000001' ; Back to Rambank1 61 movlb b'00000001' ; Back to Rambank1
57 movff win_color2_temp,win_color2 62 movff win_color2_temp,win_color2
58 movff win_color1_temp,win_color1 63 movff win_color1_temp,win_color1
64 endif
65
59 return 66 return
60 67
61 ; ----------------------------- 68 ; -----------------------------
62 ; PLED_SetColumnPixel: 69 ; PLED_SetColumnPixel:
63 ; ----------------------------- 70 ; -----------------------------
392 rcall PLED_DatWrite 399 rcall PLED_DatWrite
393 400
394 movlw 0x22 ; Start Writing Data to GRAM 401 movlw 0x22 ; Start Writing Data to GRAM
395 rcall PLED_CmdWrite 402 rcall PLED_CmdWrite
396 403
404 ; See Page 101 of OLED Driver IC Datasheet how to handle rs/rw clocks
397 bsf oled_rs ; Data! 405 bsf oled_rs ; Data!
398 406
399 movlw d'10' 407 movlw d'10'
400 movwf draw_box_temp3 408 movwf draw_box_temp3
401 PLED_ClearScreen2: 409 PLED_ClearScreen2: