changeset 771:3b69d3e23051

fix bailout gas 1 display
author heinrichsweikamp
date Tue, 11 Feb 2014 13:43:53 +0100
parents 6861f72ece13
children 5d6da9ddde27
files code_part1/OSTC_code_asm_part1/definitions.asm code_part1/OSTC_code_asm_part1/outputs.asm
diffstat 2 files changed, 3 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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
 
--- 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!