# HG changeset patch
# User heinrichsweikamp
# Date 1349897105 -7200
# Node ID ea2bc3b9224e131007aeade3da438c2b166b6763
# Parent  436f6d8a2bf82c299f1da6790746c47cf57fc253
reset 5 diluents after update

diff -r 436f6d8a2bf8 -r ea2bc3b9224e code_part1/OSTC_code_asm_part1/start.asm
--- a/code_part1/OSTC_code_asm_part1/start.asm	Wed Oct 10 20:59:35 2012 +0200
+++ b/code_part1/OSTC_code_asm_part1/start.asm	Wed Oct 10 21:25:05 2012 +0200
@@ -159,7 +159,33 @@
 	movlw	.0
 	movwf	EEDATA
 	call	write_eeprom			; write byte
-	clrf	EEADRH					; Reset EEADRH	
+	clrf	EEADRH					; Reset EEADRH
+
+; New in 2.52 Diluents stored seperately in EEPROM Bank0
+; EEPROM BANK0 Byte96-97:
+; Diluent 1 (%O2,%He)
+; EEPROM BANK0 Byte98-99:
+; Diluent 2 (%O2,%He)
+; EEPROM BANK0 Byte100-101:
+; Diluent 3 (%O2,%He)
+; EEPROM BANK0 Byte102-103:
+; Diluent 4 (%O2,%He)
+; EEPROM BANK0 Byte104-105:
+; Diluent 5 (%O2,%He)
+    clrf    EEADRH
+    movlw   .21
+    movwf   EEDATA
+    write_int_eeprom	d'96'
+    write_int_eeprom	d'98'
+    write_int_eeprom	d'100'
+    write_int_eeprom	d'102'
+    write_int_eeprom	d'104'
+    clrf    EEDATA
+    write_int_eeprom	d'97'
+    write_int_eeprom	d'99'
+    write_int_eeprom	d'101'
+    write_int_eeprom	d'103'
+    write_int_eeprom	d'105'
 			
 restart:
 	movlw	b'00000011'