comparison code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 655:8c01edcf57fc

Allow any diluent to be "First gas" in CCR modes
author heinrichsweikamp
date Tue, 23 Oct 2012 10:03:47 +0200
parents a38d82918458
children 8dd730d3a5d7
comparison
equal deleted inserted replaced
654:a38d82918458 655:8c01edcf57fc
1448 1448
1449 movlw d'3' ; list all three SP 1449 movlw d'3' ; list all three SP
1450 cpfseq apnoe_mins ; All gases shown? 1450 cpfseq apnoe_mins ; All gases shown?
1451 bra PLED_pre_dive_screen3_loop ;no 1451 bra PLED_pre_dive_screen3_loop ;no
1452 1452
1453 read_int_eeprom d'96' ; Read O2 1453
1454 movff EEDATA,lo 1454 call get_first_diluent ; Read first diluent into lo(O2) and hi(He)
1455 read_int_eeprom d'97' ; Read He
1456 movff EEDATA,hi
1457
1458 WIN_LEFT .90 1455 WIN_LEFT .90
1459 WIN_TOP .100 1456 WIN_TOP .100
1460 STRCPY TXT_DIL4 1457 STRCPY TXT_DIL4
1461 output_8 ; O2 Ratio 1458 output_8 ; O2 Ratio
1462 PUTC '/' 1459 PUTC '/'