diff code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 402:e565392e0fcc

Add a trailing space for nofly and desat
author heinrichsweikamp
date Mon, 27 Jun 2011 10:15:28 +0200
parents 6ed12fad3b97
children 5b560559bc1a
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Sun Jun 26 18:07:51 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Mon Jun 27 10:15:28 2011 +0200
@@ -1705,8 +1705,6 @@
 	lfsr	FSR2,letter
 	OUTPUTTEXT	d'14'				; Desat
 	PUTC    ' '
-;	movff		int_O_desaturation_time+0,lo			; divide by 60...
-;	movff		int_O_desaturation_time+1,hi
 	movff		desaturation_time_buffer+0,lo			; divide by 60...
 	movff		desaturation_time_buffer+1,hi
 
@@ -1717,9 +1715,12 @@
 	movwf		hi							; exchange lo and hi...
 	output_8								; Hours
 	PUTC        ':'
-	movff		hi,lo					; Minutes
+	movff		hi,lo						; Minutes
 	output_99x
 	bcf		leftbind
+	PUTC	' '
+;   clrf    WREG							; Allow up to 5 chars to avoid
+;   movff   WREG,letter+6					; collision with decotype letters
 	call	word_processor
 	return
 
@@ -1747,14 +1748,14 @@
 	movf		lo,W
 	movff		hi,lo
 	movwf		hi							; exchange lo and hi...
-	output_8								; Hours
+	output_8							; Hours
 	PUTC        ':'
 	movff		hi,lo					; Minutes
-;	decf		lo,F
-;	btfsc		lo,7					; keep Nofly time
-;	clrf		lo
 	output_99x
 	bcf		leftbind
+	PUTC	' '
+;   clrf    WREG							; Allow up to 5 chars to avoid
+;   movff   WREG,letter+6					; collision with decotype letters
 	call	word_processor
 	return