# HG changeset patch
# User heinrichsweikamp
# Date 1354635698 -3600
# Node ID 92e1690ecc8462b57566bd02d096a85d91ceb16f
# Parent  069f708a6a0927ad7fa07db0c9d3cb5afe060860
2.57beta release

diff -r 069f708a6a09 -r 92e1690ecc84 code_part1/OSTC_code_asm_part1/changelog.txt
--- a/code_part1/OSTC_code_asm_part1/changelog.txt	Mon Dec 03 10:58:19 2012 +0100
+++ b/code_part1/OSTC_code_asm_part1/changelog.txt	Tue Dec 04 16:41:38 2012 +0100
@@ -5,6 +5,7 @@
 NEW: CF67: aGF_lo [%]
 NEW: CF68: aGF_hi [%]
 NEW: CF69: Allow GF change (underwater)
+CHANGE: Deco model default now is L16-GF OC (OC, GF-Deco)
 
 New in 2.56:
 BETA Version - Do NOT use for diving!
diff -r 069f708a6a09 -r 92e1690ecc84 code_part1/OSTC_code_asm_part1/definitions.asm
--- a/code_part1/OSTC_code_asm_part1/definitions.asm	Mon Dec 03 10:58:19 2012 +0100
+++ b/code_part1/OSTC_code_asm_part1/definitions.asm	Tue Dec 04 16:41:38 2012 +0100
@@ -26,7 +26,7 @@
 
 #DEFINE softwareversion_beta 	1 			; (and 0 for release) 
 
-#DEFINE	max_custom_number		d'66'		; Number of last used custom function
+#DEFINE	max_custom_number		d'69'		; Number of last used custom function
 
 ; International extension. Selecting messages source:
 #DEFINE    ENGLISH                         ; Use english_text.asm
diff -r 069f708a6a09 -r 92e1690ecc84 code_part1/OSTC_code_asm_part1/menu_custom.asm
--- a/code_part1/OSTC_code_asm_part1/menu_custom.asm	Mon Dec 03 10:58:19 2012 +0100
+++ b/code_part1/OSTC_code_asm_part1/menu_custom.asm	Tue Dec 04 16:41:38 2012 +0100
@@ -844,7 +844,8 @@
 ;       they are all ok.
 
 check_customfunctions:
-	movlw	max_custom_number+1			; Defined in definitions.asm
+;	movlw	max_custom_number+1			; Defined in definitions.asm
+    movlw   .63                         ; mH: CF checker does currently not work for Bank2
 	cpfseq	cf_checker_counter			; All tested?
 	bra		check_customfunctions1		; No, continue
 	clrf	cf_checker_counter			; clear counter
diff -r 069f708a6a09 -r 92e1690ecc84 code_part1/OSTC_code_asm_part1/menu_reset.asm
--- a/code_part1/OSTC_code_asm_part1/menu_reset.asm	Mon Dec 03 10:58:19 2012 +0100
+++ b/code_part1/OSTC_code_asm_part1/menu_reset.asm	Tue Dec 04 16:41:38 2012 +0100
@@ -364,8 +364,9 @@
 	movlw	d'1'
 	movwf	EEDATA
 	write_int_eeprom	d'33'		; reset start gas
-	clrf	EEDATA
-	write_int_eeprom	d'34'		; reset deco model to ZH-L16
+	movlw	d'4'                    ; Default is L16-GF OC
+	movwf	EEDATA
+	write_int_eeprom	d'34'		; reset deco model
 	clrf	EEDATA
 	write_int_eeprom	d'35'		; unused in Mk.2