comparison src/ghostwriter.asm @ 97:53a99a2dc6a1

CHANGE: Always compute bailout plan based on all active gases CHANGE: Re-select last diluent when returning from bailout to OC
author heinrichsweikamp
date Mon, 28 Apr 2014 16:26:31 +0200
parents e4e91fe8b09d
children 24b3fd59e61f
comparison
equal deleted inserted replaced
96:a4bff632e97b 97:53a99a2dc6a1
533 end_dive_oc_gaslist: ; OC Gases... 533 end_dive_oc_gaslist: ; OC Gases...
534 movff opt_gas_O2_ratio+0,WREG 534 movff opt_gas_O2_ratio+0,WREG
535 rcall ghostwrite_byte_header ; %O2 535 rcall ghostwrite_byte_header ; %O2
536 movff opt_gas_He_ratio+0,WREG 536 movff opt_gas_He_ratio+0,WREG
537 rcall ghostwrite_byte_header ; %He 537 rcall ghostwrite_byte_header ; %He
538 movff char_I_deco_gas_change+0,WREG 538 movff opt_OC_bail_gas_change+0,WREG
539 rcall ghostwrite_byte_header ; Configured change depth in m 539 rcall ghostwrite_byte_header ; Configured change depth in m
540 movff opt_gas_type+0,WREG 540 movff opt_gas_type+0,WREG
541 rcall ghostwrite_byte_header ; 0=Disabled, 1=First, 2= Travel, 3= Deco 541 rcall ghostwrite_byte_header ; 0=Disabled, 1=First, 2= Travel, 3= Deco
542 542
543 movff opt_gas_O2_ratio+1,WREG 543 movff opt_gas_O2_ratio+1,WREG
544 rcall ghostwrite_byte_header ; %O2 544 rcall ghostwrite_byte_header ; %O2
545 movff opt_gas_He_ratio+1,WREG 545 movff opt_gas_He_ratio+1,WREG
546 rcall ghostwrite_byte_header ; %He 546 rcall ghostwrite_byte_header ; %He
547 movff char_I_deco_gas_change+1,WREG 547 movff opt_OC_bail_gas_change+1,WREG
548 rcall ghostwrite_byte_header ; Configured change depth in m 548 rcall ghostwrite_byte_header ; Configured change depth in m
549 movff opt_gas_type+1,WREG 549 movff opt_gas_type+1,WREG
550 rcall ghostwrite_byte_header ; 0=Disabled, 1=First, 2= Travel, 3= Deco 550 rcall ghostwrite_byte_header ; 0=Disabled, 1=First, 2= Travel, 3= Deco
551 551
552 movff opt_gas_O2_ratio+2,WREG 552 movff opt_gas_O2_ratio+2,WREG
553 rcall ghostwrite_byte_header ; %O2 553 rcall ghostwrite_byte_header ; %O2
554 movff opt_gas_He_ratio+2,WREG 554 movff opt_gas_He_ratio+2,WREG
555 rcall ghostwrite_byte_header ; %He 555 rcall ghostwrite_byte_header ; %He
556 movff char_I_deco_gas_change+2,WREG 556 movff opt_OC_bail_gas_change+2,WREG
557 rcall ghostwrite_byte_header ; Configured change depth in m 557 rcall ghostwrite_byte_header ; Configured change depth in m
558 movff opt_gas_type+2,WREG 558 movff opt_gas_type+2,WREG
559 rcall ghostwrite_byte_header ; 0=Disabled, 1=First, 2= Travel, 3= Deco 559 rcall ghostwrite_byte_header ; 0=Disabled, 1=First, 2= Travel, 3= Deco
560 560
561 movff opt_gas_O2_ratio+3,WREG 561 movff opt_gas_O2_ratio+3,WREG
562 rcall ghostwrite_byte_header ; %O2 562 rcall ghostwrite_byte_header ; %O2
563 movff opt_gas_He_ratio+3,WREG 563 movff opt_gas_He_ratio+3,WREG
564 rcall ghostwrite_byte_header ; %He 564 rcall ghostwrite_byte_header ; %He
565 movff char_I_deco_gas_change+3,WREG 565 movff opt_OC_bail_gas_change+3,WREG
566 rcall ghostwrite_byte_header ; Configured change depth in m 566 rcall ghostwrite_byte_header ; Configured change depth in m
567 movff opt_gas_type+3,WREG 567 movff opt_gas_type+3,WREG
568 rcall ghostwrite_byte_header ; 0=Disabled, 1=First, 2= Travel, 3= Deco 568 rcall ghostwrite_byte_header ; 0=Disabled, 1=First, 2= Travel, 3= Deco
569 569
570 movff opt_gas_O2_ratio+4,WREG 570 movff opt_gas_O2_ratio+4,WREG
571 rcall ghostwrite_byte_header ; %O2 571 rcall ghostwrite_byte_header ; %O2
572 movff opt_gas_He_ratio+4,WREG 572 movff opt_gas_He_ratio+4,WREG
573 rcall ghostwrite_byte_header ; %He 573 rcall ghostwrite_byte_header ; %He
574 movff char_I_deco_gas_change+4,WREG 574 movff opt_OC_bail_gas_change+4,WREG
575 rcall ghostwrite_byte_header ; Configured change depth in m 575 rcall ghostwrite_byte_header ; Configured change depth in m
576 movff opt_gas_type+4,WREG 576 movff opt_gas_type+4,WREG
577 rcall ghostwrite_byte_header ; 0=Disabled, 1=First, 2= Travel, 3= Deco 577 rcall ghostwrite_byte_header ; 0=Disabled, 1=First, 2= Travel, 3= Deco
578 ; bra end_dive_oc_cc_common 578 ; bra end_dive_oc_cc_common
579 579