diff code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 8:d8b426d71282

1.52 rc2
author heinrichsweikamp
date Sun, 28 Feb 2010 16:19:21 +0100
parents 2b5c52ae3923
children 395230c28023
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Wed Feb 24 13:33:17 2010 +0100
+++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Sun Feb 28 16:19:21 2010 +0100
@@ -843,7 +843,11 @@
 	
 							; Yes, display "Air" instead of 21/0
 	lfsr	FSR2,letter
-	OUTPUTTEXTH		d'264'			;"Air  "
+	OUTPUTTEXTH		d'264'			;"Air "
+	movlw	' '
+	btfsc	better_gas_available	;=1: A better gas is available and a gas change is advised in divemode
+	movlw	'*'
+	movwf	POSTINC2
 	call	word_processor
 	return
 
@@ -856,6 +860,8 @@
 	movff	char_I_He_ratio,lo		; copy He ratio into lo
 	output_8
 	movlw	' '
+	btfsc	better_gas_available	;=1: A better gas is available and a gas change is advised in divemode
+	movlw	'*'
 	movwf	POSTINC2
 	bcf		leftbind
 	call	word_processor