comparison code_part1/OSTC_code_asm_part1/menu_reset.asm @ 224:49c90c5d9603

Gas usage + Show after last page of decoplan. + Units in 0.1 litters (or bars), hence 16bits. + Define CF#56 and CF#57, defaults to 20.0 l/min. + Go RED if volume > 6553.5 (saturated). + Calculate gas usage at bottom of ascent (safe bet). + Fix when first gas is not Gas1. + BUGFIX gas usage: first gas is not in the sorted gaslist (in general). KNOWN BUG: wrong result if the gaslist is not sorted, or first gas do have a depth > 0.
author JeanDo
date Thu, 03 Mar 2011 15:16:23 +0100
parents f15e804ff67f
children 85ea09d3b9d8
comparison
equal deleted inserted replaced
223:2a0a446fa6c0 224:49c90c5d9603
170 170
171 CF_DEFAULT CF_BOOL, d'1', 0, 0 ; CF52 Show Tissue Graph in Divemode 171 CF_DEFAULT CF_BOOL, d'1', 0, 0 ; CF52 Show Tissue Graph in Divemode
172 CF_DEFAULT CF_BOOL, d'0', 0, 0 ; CF53 Show Laeding Tissue in Divemode 172 CF_DEFAULT CF_BOOL, d'0', 0, 0 ; CF53 Show Laeding Tissue in Divemode
173 CF_DEFAULT CF_BOOL, d'0', 0, 0 ; CF54 Display shallowest stop first 173 CF_DEFAULT CF_BOOL, d'0', 0, 0 ; CF54 Display shallowest stop first
174 CF_DEFAULT CF_INT8, d'0', d'0', d'10' ; GF55 Gas switch additional delay 174 CF_DEFAULT CF_INT8, d'0', d'0', d'10' ; GF55 Gas switch additional delay
175 CF_DEFAULT CF_INT15, 0, 0, 0 ; UNUSED 175 CF_DEFAULT CF_DECI, d'200', d'5', 0 ; CF56 Bottom gas usage (l/min or bar/min)
176 176
177 CF_DEFAULT CF_INT15, 0, 0, 0 ; UNUSED 177 CF_DEFAULT CF_DECI, d'200', d'5', 0 ; CF57 Ascent/deco gas usage (l/min or bar/min)
178 CF_DEFAULT CF_INT15, 0, 0, 0 ; UNUSED 178 CF_DEFAULT CF_INT15, 0, 0, 0 ; UNUSED
179 CF_DEFAULT CF_INT15, 0, 0, 0 ; UNUSED 179 CF_DEFAULT CF_INT15, 0, 0, 0 ; UNUSED
180 CF_DEFAULT CF_INT15, 0, 0, 0 ; UNUSED 180 CF_DEFAULT CF_INT15, 0, 0, 0 ; UNUSED
181 CF_DEFAULT CF_INT15, 0, 0, 0 ; UNUSED 181 CF_DEFAULT CF_INT15, 0, 0, 0 ; UNUSED
182 182