diff code_part1/OSTC_code_asm_part1/start.asm @ 163:144822282fa3

Fusion declaration of shared C/ASM variables. + remove unused variables. + sort all in variables in BANK3, and out variables in BANK2.
author JeanDo
date Fri, 21 Jan 2011 01:44:37 +0100
parents 0ee809806454
children cb055a7d75f3
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/start.asm	Fri Jan 21 01:48:40 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/start.asm	Fri Jan 21 01:44:37 2011 +0100
@@ -218,8 +218,8 @@
 ; Load GF values into RAM
 	movlw	d'90'
 	movwf	wait_temp
-	movff	wait_temp,char_I_GF_Lo_percentage
-	movff	wait_temp,char_I_GF_Hi_percentage		; Set to 90/90...
+	movff	wait_temp,char_I_GF_Low_percentage
+	movff	wait_temp,char_I_GF_High_percentage		; Set to 90/90...
 	clrf	EEADRH
 	read_int_eeprom d'34'			; Read deco data	
 	movlw	d'1'					; Gauge mode
@@ -250,9 +250,9 @@
 	movff	wait_temp,char_I_deco_model	; Set Flagbyte for GF method
 ; Load GF values into RAM
 	GETCUSTOM8	d'32'			; GF low
-	movff		EEDATA,char_I_GF_Lo_percentage
+	movff		EEDATA,char_I_GF_Low_percentage
 	GETCUSTOM8	d'33'			; GF high
-	movff		EEDATA,char_I_GF_Hi_percentage
+	movff		EEDATA,char_I_GF_High_percentage
 	return							; start in Surfacemode
 restart_5_test_gfO2_mode:
 	movlw	d'5'					; GF CC mode
@@ -264,9 +264,9 @@
 	movff	wait_temp,char_I_deco_model	; Set Flagbyte for GF method
 	; Load GF values into RAM
 	GETCUSTOM8	d'32'			; GF low
-	movff		EEDATA,char_I_GF_Lo_percentage
+	movff		EEDATA,char_I_GF_Low_percentage
 	GETCUSTOM8	d'33'			; GF high
-	movff		EEDATA,char_I_GF_Hi_percentage
+	movff		EEDATA,char_I_GF_High_percentage
 	return							; start in Surfacemode
 
 startup_screen1: