changeset 309:2f21f7a77608

moved cf warning to upper right corner
author heinrichsweikamp
date Sun, 01 May 2011 17:24:53 +0200
parents 122324dafba7
children b20fc8c4ac92
files code_part1/OSTC_code_asm_part1/changelog.txt code_part1/OSTC_code_asm_part1/menu_custom.asm code_part1/OSTC_code_asm_part1/menu_reset.asm code_part1/OSTC_code_asm_part1/pled_outputs.asm
diffstat 4 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/changelog.txt	Sun May 01 08:22:41 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/changelog.txt	Sun May 01 17:24:53 2011 +0200
@@ -1,3 +1,7 @@
+New in 1.88 beta:
+BETA Version - Do NOT use for diving!
+CHANGE: CF warning window moved to upper right corner
+
 New in 1.87 beta:
 BETA Version - Do NOT use for diving!
 CHANGE: Runtime simulator faster
--- a/code_part1/OSTC_code_asm_part1/menu_custom.asm	Sun May 01 08:22:41 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/menu_custom.asm	Sun May 01 17:24:53 2011 +0200
@@ -755,16 +755,16 @@
     andwf   cf_checker_counter,F
 
     ; Went wrong: draw the warning line...
-	WIN_TOP		.200
-	WIN_LEFT	.80 - (6*.7)/2          ; Center 8 chars of width 14pix.
+	WIN_TOP		.0
+	WIN_LEFT	.125
 	WIN_FONT 	FT_SMALL
 	WIN_INVERT	.1					    ; Init new Wordprocessor
 	call    PLED_warnings_color
 	
-	STRCPY  " CF"
+	STRCPY  "CF"
     movff   cf_checker_counter,lo
     output_99x
-    STRCAT_PRINT " "
+	STRCAT_PRINT "!"
     
     ; When failed, increment counter modulo 64, to restart checks.
     incf    cf_checker_counter,W
--- a/code_part1/OSTC_code_asm_part1/menu_reset.asm	Sun May 01 08:22:41 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/menu_reset.asm	Sun May 01 17:24:53 2011 +0200
@@ -334,7 +334,7 @@
 	clrf	EEDATA
 	write_int_eeprom	d'34'		; reset deco model to ZH-L16
 	clrf	EEDATA
-	write_int_eeprom	d'35'		; Do not use O2 Sensor in CC Modes
+	write_int_eeprom	d'35'		; unused in Mk.2
 
 	clrf	EEDATA
 	write_int_eeprom	d'39'		; Disable Debugbode
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Sun May 01 08:22:41 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Sun May 01 17:24:53 2011 +0200
@@ -3177,6 +3177,7 @@
 	GETCUSTOM8		d'35'		; ... with the standard color
 PLED_topline_box2:
     WIN_BOX_COLOR   .0, .26, .0, .159	
+	call    PLED_standard_color	; Reset to standard color in case of unreadable color
 	return
 
 PLED_display_cns: