diff code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 286:5351d47ee28a

Active gas flags simplified
author heinrichsweikamp
date Wed, 20 Apr 2011 07:51:11 +0200
parents 8874b6cd8f36
children 5f2fe81fde9f
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Wed Apr 20 06:54:33 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Wed Apr 20 07:51:11 2011 +0200
@@ -2540,7 +2540,6 @@
 	WIN_FONT	FT_SMALL
 	bsf		leftbind
 	
-;	movlw	d'92'	; old sorted list
 	movlw	d'2'
 	movwf	wait_temp			; here: stores eeprom address for gas list
 	movlw	d'0'
@@ -2568,7 +2567,6 @@
 	output_8				; outputs into Postinc2!
     PUTC    '@'
 
-;	movlw	d'117'			; old sorted list
 	movlw	d'27'
 	addwf	hi,W
 	movwf	EEADR			; Point to Change depth
@@ -2577,8 +2575,6 @@
 	movff	EEDATA,lo		; copy to lo
 	output_8				; outputs into Postinc2!
 	
-;	call	PLED_standard_color	
-
 ; Check if gas needs to be greyed-out (inactive)	
 	movff	sorted_gaslist_active,EEDATA	; Get flag register
 	movff	hi,lo			; copy gas number
@@ -2591,9 +2587,6 @@
 	btfss	STATUS,C		; test carry
 	call	PLED_set_color	; grey out inactive gases!
 
-	dcfsnz	hi,W			; First in List?
-	call	PLED_standard_color
-
 	call	word_processor	
 	call	PLED_standard_color