diff code_part1/OSTC_code_asm_part1/outputs.asm @ 772:5d6da9ddde27

NEW: Show First Diluent (CCR Mode) permantely in surface mode
author heinrichsweikamp
date Sun, 02 Mar 2014 20:11:10 +0100
parents 3b69d3e23051
children 43ef5a003df7
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/outputs.asm	Tue Feb 11 13:43:53 2014 +0100
+++ b/code_part1/OSTC_code_asm_part1/outputs.asm	Sun Mar 02 20:11:10 2014 +0100
@@ -1639,14 +1639,24 @@
 	WIN_INVERT	.0					; Init new Wordprocessor
 	call	DISP_standard_color
 
-	lfsr	FSR2,letter		
+	lfsr	FSR2,letter
 	read_int_eeprom	d'36'
 	movff	EEDATA,lo				; copy to lo
 	clrf	hi
 	output_16dp	d'3'		; outputs into Postinc2!
+	STRCAT_PRINT  TXT_BAR3
+
+    bsf     leftbind
+    call    get_first_diluent           ; Read first diluent into lo(O2) and hi(He)
+	WIN_TOP		.160
+	WIN_LEFT	.104
+	lfsr	FSR2,letter
+	output_8				; O2 Ratio
+	PUTC    '/'
+	movff	hi,lo
+	output_8				; He Ratio
+	STRCAT_PRINT  ""
 	bcf		leftbind
-
-	STRCAT_PRINT  TXT_BAR3
 	return								; Done.
 
 DISP_active_gas_surfmode2: