# HG changeset patch
# User heinrichsweikamp
# Date 1392122633 -3600
# Node ID 3b69d3e2305146a57d2a24710b152d14fb3d232b
# Parent  6861f72ece13512f8d676f460f1d2feabaabae64
fix bailout gas 1 display

diff -r 6861f72ece13 -r 3b69d3e23051 code_part1/OSTC_code_asm_part1/definitions.asm
--- a/code_part1/OSTC_code_asm_part1/definitions.asm	Tue Feb 11 12:40:16 2014 +0100
+++ b/code_part1/OSTC_code_asm_part1/definitions.asm	Tue Feb 11 13:43:53 2014 +0100
@@ -22,9 +22,9 @@
 ; ToDo:
 
 #DEFINE	softwareversion_x		d'2'		; Software version  XX.YY
-#DEFINE	softwareversion_y		d'91'		; Software version  XX.YY
+#DEFINE	softwareversion_y		d'90'		; Software version  XX.YY
 
-#DEFINE softwareversion_beta 	1 			; (and 0 for release)
+#DEFINE softwareversion_beta 	0 			; (and 0 for release)
 
 #DEFINE	max_custom_number		d'73'		; Number of last used custom function
 
diff -r 6861f72ece13 -r 3b69d3e23051 code_part1/OSTC_code_asm_part1/outputs.asm
--- a/code_part1/OSTC_code_asm_part1/outputs.asm	Tue Feb 11 12:40:16 2014 +0100
+++ b/code_part1/OSTC_code_asm_part1/outputs.asm	Tue Feb 11 13:43:53 2014 +0100
@@ -1495,11 +1495,7 @@
 	movff	EEDATA,lo		; copy to lo
 	output_8				; outputs into Postinc2!
 	PUTC    '/'
-    movlw   .4
-    mulwf   hi,W            ; 1-5
-    movf    PRODL,W
-	addlw   .3              ; Gas #x: %He - Set address in internal EEPROM
-    movwf   EEADR
+	incf	EEADR,F			; Gas #hi: %He - Set address in internal EEPROM
 	call	read_eeprom		; get byte (stored in EEDATA)
 	movff	EEDATA,lo		; copy to lo
 	output_8				; outputs into Postinc2!