diff 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
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/oled_samsung.asm	Tue Dec 07 13:22:17 2010 +0100
+++ b/code_part1/OSTC_code_asm_part1/oled_samsung.asm	Tue Dec 07 22:36:19 2010 +0100
@@ -50,12 +50,19 @@
 
 word_processor:						; word_processor:
 	clrf	POSTINC2				; Required!
+
+  ifdef	AAFONTS
+	call	aa_wordprocessor
+	movlb	b'00000001'				; Back to Rambank1
+  else
 	movff	win_color2,win_color2_temp
 	movff	win_color1,win_color1_temp
 	call	main_wordprocessor		; C-Code
 	movlb	b'00000001'				; Back to Rambank1
 	movff	win_color2_temp,win_color2
 	movff	win_color1_temp,win_color1
+  endif
+
 	return
 
 ; -----------------------------
@@ -394,6 +401,7 @@
 	movlw	0x22					; Start Writing Data to GRAM
 	rcall	PLED_CmdWrite
 
+	; See Page 101 of OLED Driver IC Datasheet how to handle rs/rw clocks
 	bsf		oled_rs					; Data!
 
 	movlw	d'10'