changeset 768:b23b43d6d50d

BUGFIX: Italian language fix (Divemode menu) BUGFIX: Gas change depth display in divemode menu (OSTC 2C only)
author heinrichsweikamp
date Tue, 28 Jan 2014 08:47:54 +0100
parents 42cb04f57b2e
children a754942cdbb8
files code_part1/OSTC_code_asm_part1/changelog.txt code_part1/OSTC_code_asm_part1/italian_text.asm code_part1/OSTC_code_asm_part1/outputs.asm
diffstat 3 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/changelog.txt	Sun Jan 05 12:19:41 2014 +0100
+++ b/code_part1/OSTC_code_asm_part1/changelog.txt	Tue Jan 28 08:47:54 2014 +0100
@@ -1,5 +1,7 @@
 New in 2.81:
 BUGFIX: Show bailout list if first bailout gas <> gas 1
+BUGFIX: Italian language fix (Divemode menu)
+BUGFIX: Gas change depth display in divemode menu (OSTC 2C only)
 
 New in 2.80:
 Stable Release
--- a/code_part1/OSTC_code_asm_part1/italian_text.asm	Sun Jan 05 12:19:41 2014 +0100
+++ b/code_part1/OSTC_code_asm_part1/italian_text.asm	Tue Jan 28 08:47:54 2014 +0100
@@ -152,9 +152,9 @@
     TCODE    .40,  .2,       "Reset Menu"                ;028 Reset Menu
     TCODE    .43,  .2,       "Imposta ora:"              ;029 Set Time:
     TCODE    .100, .50,      "Marker"                    ;030 Marker            (Add a mark in logbook profile)
-    TCODE    .100, .25,      "PianoDeco"                 ;031 Decoplan
+    TCODE    .100, .25,      "Decoplan"                  ;031 Decoplan
     TCODE    .100, .0,       "ListaGas"                  ;032 Gaslist
-    TCODE    .100, .50,      "AzzeraAvr"                 ;033 ResetAvr          (Reset average depth)
+    TCODE    .100, .50,      "Azz. Avr"                  ;033 ResetAvr          (Reset average depth)
     TCODE    .100, .100,     "Esci"                      ;034 Exit		        (Exit current menu)
     TCODE    .0,   .0,       "NonVolo"                   ;035 NoFly		        (No-flight count-down)
 ;
--- a/code_part1/OSTC_code_asm_part1/outputs.asm	Sun Jan 05 12:19:41 2014 +0100
+++ b/code_part1/OSTC_code_asm_part1/outputs.asm	Tue Jan 28 08:47:54 2014 +0100
@@ -926,7 +926,7 @@
     bcf     leftbind
     STRCAT  "m "
     clrf    WREG
-    movff   WREG,letter+9       ; Limit to 8 chars
+    movff   WREG,letter+.9       ; Limit to 9 chars
     STRCAT_PRINT  ""
 
 	WIN_TOP		.216
@@ -952,7 +952,7 @@
     bcf     leftbind
     STRCAT  "m "
     clrf    WREG
-    movff   WREG,letter+9       ; Limit to 8 chars
+    movff   WREG,letter+.9       ; Limit to 9 chars
     STRCAT_PRINT  ""
     return
 
@@ -3097,7 +3097,10 @@
 	call	read_eeprom			; Low-value
 	movff	EEDATA,lo
 	output_8					; Show gas number
-    STRCAT_PRINT  TXT_METER2	; "m "
+    STRCAT  "m "
+    clrf    WREG
+    movff   WREG,letter+.9       ; Limit to 9 chars
+    STRCAT_PRINT  ""
 	bcf		leftbind
 	call	DISP_standard_color
 	return