changeset 556:880e98ecf1ea

don't show normal ppO2 in pSCR mode
author heinrichsweikamp
date Tue, 14 Feb 2012 20:39:00 +0100
parents 43296991c283
children f6c45ad5d493
files code_part1/OSTC_code_asm_part1/pled_outputs.asm code_part1/OSTC_code_c_part2/p2_deco.o
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Mon Feb 13 00:18:13 2012 +0100
+++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Tue Feb 14 20:39:00 2012 +0100
@@ -1146,6 +1146,12 @@
 	return
 
 PLED_show_ppO2:					; Show ppO2 (ppO2 stored in xC)
+ 	GETCUSTOM8	d'61'					; Show pSCR ppO2?
+	decfsz		WREG,F					; WREG=1?	
+	bra			PLED_show_ppO2a			; No
+	return								; Do not display ppO2 in pSCR Mode
+
+PLED_show_ppO2a:
 	ostc_debug	't'		; Sends debug-information to screen if debugmode active
 	WIN_TOP		.117
 	WIN_LEFT	.0
@@ -3474,7 +3480,7 @@
 	call		PLED_divemask_color     ; Set Color for Divemode mask
     lfsr        FSR2,letter
     OUTPUTTEXTH .266                    ; "pSCR Info"
-    call        word_processor;			   pCCR
+    call        word_processor			; pCCR
 
 	movff	char_I_O2_ratio,WREG
 	sublw	.100			; 100-char_I_O2_ratio -> WREG
Binary file code_part1/OSTC_code_c_part2/p2_deco.o has changed