diff src/aa_wordprocessor.asm @ 432:929feb0da4f5

hunting a bug in the logbook (Day 2)
author heinrichsweikamp
date Wed, 22 Jun 2016 12:36:15 +0200
parents a5fc007634c5
children 95ee78f4a974
line wrap: on
line diff
--- a/src/aa_wordprocessor.asm	Tue Jun 21 17:20:44 2016 +0200
+++ b/src/aa_wordprocessor.asm	Wed Jun 22 12:36:15 2016 +0200
@@ -421,7 +421,7 @@
 		cpfseq	aa_end+0
 		bra		aa_decode_1             ; Loop if LOW is different
 		movf	TBLPTRH,W
-		cpfseq	aa_end+1                ; Loop to if HIGH is different
+		cpfseq	aa_end+1			; Loop too if HIGH is different
 		bra		aa_decode_1
 		
 		return
@@ -434,13 +434,13 @@
         global  aa_wordprocessor        ; Callable from C-code.
 aa_wordprocessor:
         banksel win_font                ; Bank1, just to be sure.
-		rcall	aa_string_width		    ; Set win_height, compute win_width
+		rcall	aa_string_width		    ; Set win_height, compute win_width:2
 		call	TFT_box_write		    ; Use that for the box.
 
 		; Restart the loop for each char to print
 		lfsr	FSR2, buffer		    ; FSR2 pointer to start of string.
 
-		; DATA bloc commande:
+		; DATA block comand
 		Index_out	0x22
 
 aa_wordprocessor_1: