changeset 629:e755ed869a3b

2.51beta release - remove of MPLAB 8 workspace. Use of MPLAB X IDE recommended
author heinrichsweikamp
date Tue, 28 Aug 2012 19:01:41 +0200
parents b4849ef90654
children 6526a5b058b7
files code_part1/OSTC_code_asm_part1/changelog.txt code_part1/OSTC_code_asm_part1/definitions.asm code_part1/OSTC_code_asm_part1/divemode_menu.asm code_part1/sample_workspace.zip
diffstat 4 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/changelog.txt	Mon Aug 27 08:27:06 2012 +0200
+++ b/code_part1/OSTC_code_asm_part1/changelog.txt	Tue Aug 28 19:01:41 2012 +0200
@@ -2,6 +2,7 @@
 BETA Version - Do NOT use for diving!
 NEW: Saves last selected custom view for surface mode and dive mode
 NEW: Gaslist highlights "better gas" in divemode
+NEW: Cursor is in front of the "better gas" automatically
 
 New in 2.50 Stable:
 INFO: This update will reset all Custom Functions and gases to defaults
--- a/code_part1/OSTC_code_asm_part1/definitions.asm	Mon Aug 27 08:27:06 2012 +0200
+++ b/code_part1/OSTC_code_asm_part1/definitions.asm	Tue Aug 28 19:01:41 2012 +0200
@@ -22,7 +22,7 @@
 ; ToDo:
 
 #DEFINE	softwareversion_x		d'2'		; Software version  XX.YY
-#DEFINE	softwareversion_y		d'51'		; Software version  XX.YY
+#DEFINE	softwareversion_y		d'52'		; Software version  XX.YY
 
 #DEFINE softwareversion_beta 	1 			; (and 0 for release) 
 
--- a/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Mon Aug 27 08:27:06 2012 +0200
+++ b/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Tue Aug 28 19:01:41 2012 +0200
@@ -589,7 +589,10 @@
 	bsf		display_set_gas				; set flag	
 	call	PLED_clear_divemode_menu	; Clear Menu
 	call	PLED_gas_list				; Display all 5 gases
-	movlw	d'1'
+
+	movlw	d'1'						; Reset cursor
+	btfsc	better_gas_available		;=1: A better gas is available and a gas change is advised in divemode
+	movf	better_gas_number,W			; better gas 1-5
 	movwf	menupos						; reset cursor
 	call	PLED_divemenu_cursor		; update cursor
 	call	PLED_show_change_depth		; And show the first change depth
Binary file code_part1/sample_workspace.zip has changed