diff code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 70:8d8e753d72e3

1.72beta - small output fix in non-GF modes
author heinrichsweikamp
date Wed, 20 Oct 2010 19:43:11 +0200
parents df2d3b28947f
children 6beb680a6130
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Tue Oct 19 15:35:23 2010 +0200
+++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Wed Oct 20 19:43:11 2010 +0200
@@ -2445,12 +2445,18 @@
 	call	PLED_box
 	return
 
+PLED_decoplan_delete_gf:		; Delete unused rows
+	movlw	.238
+	movff	WREG,box_temp+2	; row bottom (0-239)
+	bra		PLED_decoplan_delete_common
+
 PLED_decoplan_delete:			; Delete unused rows
+	movlw	.184
+	movff	WREG,box_temp+2	; row bottom (0-239)
+PLED_decoplan_delete_common:
 	movlw	.0
 	movff	WREG,box_temp+0	; data 00, x0, 0y, xy clear, links, rechts, beide
 	movff	hi,box_temp+1	; row top (0-239)
-	movlw	.238
-	movff	WREG,box_temp+2	; row bottom (0-239)
 	movlw	.100
 	movff	WREG,box_temp+3	; column left (0-159)
 	movlw	.159	
@@ -2459,6 +2465,7 @@
 	bsf		last_ceiling_gf_shown		; Set flag
 	return
 
+
 PLED_decoplan_gf_page_current:
 	movlw	d'0'
 	cpfseq	temp8
@@ -2545,7 +2552,7 @@
 
 	movff	char_O_array_decodepth+0,WREG	; Ceiling
 	cpfslt	temp7							; Ceiling already displayed?
-	goto	PLED_decoplan_delete			; Yes, quit display	and RETURN	
+	goto	PLED_decoplan_delete_gf			; Yes, quit display	and RETURN	
 	movff	temp7,lo						; Decodepth
 
 	lfsr	FSR2,letter