diff code_part1/OSTC_code_asm_part1/aa_wordprocessor.asm @ 775:f32b9ad6244c

add 120px HUGE font
author heinrichsweikamp
date Mon, 17 Mar 2014 14:54:17 +0100
parents d68c6a6b1f38
children 2750099bf5bb
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/aa_wordprocessor.asm	Thu Mar 13 17:08:52 2014 +0100
+++ b/code_part1/OSTC_code_asm_part1/aa_wordprocessor.asm	Mon Mar 17 14:54:17 2014 +0100
@@ -102,11 +102,24 @@
 
 		; LARGE font ---------------------------------------------------------
 aa_char_2:
+		decfsz	WREG,A				    ; This is medium font ???
+		bra		aa_char_2a
+
 		; Font LARGE block:
 		movlw	LOW aa_font90_block
 		movwf	TBLPTRL,A
 		movlw	HIGH aa_font90_block
 		movwf	TBLPTRH,A
+        bra		aa_char_3
+
+		; HUGE font ---------------------------------------------------------
+aa_char_2a:
+		; Font HUGE block:
+		movlw	LOW aa_font120_block
+		movwf	TBLPTRL,A
+		movlw	HIGH aa_font120_block
+		movwf	TBLPTRH,A
+
 
 		; Execute font block -------------------------------------------------
 aa_char_3: