Mercurial > public > mk2
changeset 324:a86c9d1219ce
ppO2 diluent (flush) color coded
author | Heinrichsweikamp |
---|---|
date | Sat, 07 May 2011 09:26:47 +0200 |
parents | b7940978edc9 |
children | 4a28d7a1c620 |
files | code_part1/OSTC_code_asm_part1/changelog.txt code_part1/OSTC_code_asm_part1/menu_reset.asm code_part1/OSTC_code_asm_part1/pled_outputs.asm |
diffstat | 3 files changed, 17 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/changelog.txt Sat May 07 00:52:20 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/changelog.txt Sat May 07 09:26:47 2011 +0200 @@ -1,6 +1,14 @@ +New in 1.89 beta: +BETA Version - Do NOT use for diving! +NEW: ppO2 in case of a loop flush can be displayed in CCR mode + + New in 1.88 beta: BETA Version - Do NOT use for diving! CHANGE: CF warning window moved to upper right corner +BUGFIX: Gas4 fixed +NEW: Future TTS (@xx Variant) in Custom View (Divemode) +NEW: CF58 (0-10 min): Computes Future TTS in xx min New in 1.87 beta: BETA Version - Do NOT use for diving!
--- a/code_part1/OSTC_code_asm_part1/menu_reset.asm Sat May 07 00:52:20 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/menu_reset.asm Sat May 07 09:26:47 2011 +0200 @@ -168,7 +168,7 @@ CF_DEFAULT CF_BOOL, d'0', 0, 0 ; CF50 Show Log-Marker CF_DEFAULT CF_BOOL, d'1', 0, 0 ; CF51 Show Stopwatch - CF_DEFAULT CF_BOOL, d'1', 0, 0 ; CF52 Show Tissue Graph in Divemode + CF_DEFAULT CF_BOOL, d'0', 0, 0 ; CF52 Show Tissue Graph in Divemode CF_DEFAULT CF_BOOL, d'0', 0, 0 ; CF53 Show Laeding Tissue in Divemode CF_DEFAULT CF_BOOL, d'0', 0, 0 ; CF54 Display shallowest stop first CF_DEFAULT CF_INT8, d'0', d'0', d'10' ; GF55 Gas switch additional delay
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm Sat May 07 00:52:20 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm Sat May 07 09:26:47 2011 +0200 @@ -3105,7 +3105,12 @@ WIN_TOP .168 call PLED_divemask_color ; Set Color for Divemode mask STRCPY_PRINT "ppO2:" ; ppO2 of diluent - call PLED_standard_color + + movff char_O_flush_ppO2,WREG ; copy to WREG + mullw .100 + movff PRODH,xC+1 + movff PRODL,xC+0 ; For color code + PLED_color_code warn_ppo2 ; Color-code output (ppO2 stored in xC) WIN_LEFT .130 WIN_TOP .168 @@ -3115,6 +3120,8 @@ bnz PLED_show_end_ead_divemode_1 STRCPY_PRINT "----" ; YES: mark overflow. + call PLED_standard_color ; Back to white. + return PLED_show_end_ead_divemode_1: