changeset 670:92e1690ecc84

2.57beta release
author heinrichsweikamp
date Tue, 04 Dec 2012 16:41:38 +0100
parents 069f708a6a09
children 75689df206c2
files code_part1/OSTC_code_asm_part1/changelog.txt code_part1/OSTC_code_asm_part1/definitions.asm code_part1/OSTC_code_asm_part1/menu_custom.asm code_part1/OSTC_code_asm_part1/menu_reset.asm
diffstat 4 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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!
--- 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
--- 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
--- 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