comparison code_part1/OSTC_code_asm_part1/definitions.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 448478ceccea
children 6d4e29d80ff3
comparison
equal deleted inserted replaced
223:2a0a446fa6c0 224:49c90c5d9603
24 #DEFINE softwareversion_x d'1' ; Software version XX.YY 24 #DEFINE softwareversion_x d'1' ; Software version XX.YY
25 #DEFINE softwareversion_y d'83' ; Software version XX.YY 25 #DEFINE softwareversion_y d'83' ; Software version XX.YY
26 26
27 #DEFINE softwareversion_beta 1 ; (and 0 for release) 27 #DEFINE softwareversion_beta 1 ; (and 0 for release)
28 28
29 #DEFINE max_custom_number d'55' ; Number of last used custom function 29 #DEFINE max_custom_number d'57' ; Number of last used custom function
30 30
31 ; International extension. Selecting messages source: 31 ; International extension. Selecting messages source:
32 #DEFINE ENGLISH ; Use english_text.asm 32 #DEFINE ENGLISH ; Use english_text.asm
33 ;#DEFINE FRENCH ; Use french_text.asm 33 ;#DEFINE FRENCH ; Use french_text.asm
34 ;#DEFINE GERMAN ; Use german_text.asm 34 ;#DEFINE GERMAN ; Use german_text.asm
341 extern deco_clear_CNS_fraction 341 extern deco_clear_CNS_fraction
342 extern deco_clear_tissue 342 extern deco_clear_tissue
343 extern deco_hash 343 extern deco_hash
344 extern deco_pull_tissues_from_vault 344 extern deco_pull_tissues_from_vault
345 extern deco_push_tissues_to_vault 345 extern deco_push_tissues_to_vault
346 extern deco_gas_volumes
346 347
347 ;============================================================================= 348 ;=============================================================================
348 ;I/O Ports (I=Input, O=Output) 349 ;I/O Ports (I=Input, O=Output)
349 ; 350 ;
350 #DEFINE sensor_SDO PORTA,1 ;O 351 #DEFINE sensor_SDO PORTA,1 ;O