# HG changeset patch # User heinrichsweikamp # Date 1351798579 -3600 # Node ID 8dd730d3a5d734529c0fd3750e7242653f0b7d4f # Parent 5063fb9f07db1dab226ffc34ca7395f6bb918460 show first diluent in simulator result screen (Instead of first gas) diff -r 5063fb9f07db -r 8dd730d3a5d7 code_part1/OSTC_code_asm_part1/pled_outputs.asm --- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm Mon Oct 29 20:05:59 2012 +0100 +++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm Thu Nov 01 20:36:19 2012 +0100 @@ -4029,26 +4029,10 @@ cpfseq decoplan_index ; All gases shown? bra PLED_simdata_screen3_loop ;no - read_int_eeprom d'33' ; Read byte (stored in EEDATA) - movff EEDATA,active_gas ; Read start gas (1-5) - decf active_gas,W ; Gas 0-4 - mullw d'4' - movf PRODL,W - addlw d'7' ; = address for He ratio - movwf EEADR - call read_eeprom ; Read He ratio - movff EEDATA,hi ; And copy into hold register - decf active_gas,W ; Gas 0-4 - mullw d'4' - movf PRODL,W - addlw d'6' ; = address for O2 ratio - movwf EEADR - call read_eeprom ; Read O2 ratio - movff EEDATA, lo ; O2 ratio - + ; Show Diluent + call get_first_diluent ; Read first diluent into lo(O2) and hi(He) WIN_LEFT .0 WIN_TOP .110 - STRCPY TXT_DIL4 output_8 ; O2 Ratio STRCAT "/" @@ -4059,8 +4043,6 @@ bcf leftbind return ; Return (CC Mode) - - adjust_depth_with_salinity: ; computes salinity setting into lo:hi [mbar] btfsc simulatormode_active ; Do apply salinity in Simulatormode