Mercurial > public > hwos_code
comparison src/simulator.asm @ 510:377d958252fb
BUGFIX: Planner in CCR mode used OC gases for volume calculations in some cases
author | heinrichsweikamp |
---|---|
date | Fri, 30 Jun 2017 15:12:56 +0200 |
parents | ad8acade5567 |
children | a346aff513c4 |
comparison
equal
deleted
inserted
replaced
509:da2cd6172f29 | 510:377d958252fb |
---|---|
740 bra deco_show_plan ; and display bailout stops | 740 bra deco_show_plan ; and display bailout stops |
741 | 741 |
742 ;---- In OC+BAIL modes, show the gas Usage special page ----------------------- | 742 ;---- In OC+BAIL modes, show the gas Usage special page ----------------------- |
743 simulator_show_decoplan5_0: | 743 simulator_show_decoplan5_0: |
744 bcf is_bailout ; Back to normal | 744 bcf is_bailout ; Back to normal |
745 bcf ccr_diluent_setup ; init for OC/Bailout | |
745 | 746 |
746 ; Make sure to pass first gas | 747 ; Make sure to pass first gas |
747 call get_first_gas_to_WREG ; Gets first gas (0-4) into WREG | 748 call get_first_gas_to_WREG ; Gets first gas (0-4) into WREG |
748 incf WREG,f ; gas 1..5 | 749 incf WREG,f ; gas 1..5 |
749 movff WREG,char_I_first_gas ; Copy for compatibility | 750 movff WREG,char_I_first_gas ; Copy for compatibility |