comparison src/simulator.asm @ 294:f97e439d711c

FIX clear before displaying gas volumes.
author jDG
date Sat, 30 May 2015 22:58:00 +0200
parents ccb93f319e78
children 7027d735ac62
comparison
equal deleted inserted replaced
293:6d6b3689b20b 294:f97e439d711c
710 deco_show_plan_3: 710 deco_show_plan_3:
711 btfss decoplan_last_ceiling_shown 711 btfss decoplan_last_ceiling_shown
712 bra deco_show_plan_1 712 bra deco_show_plan_1
713 ; All stops shown 713 ; All stops shown
714 714
715 ;---- In OCR mode, show the gas Usage special page --------------------------- 715 ;---- In OC mode, show the gas Usage special page ---------------------------
716 simulator_show_decoplan5_0: 716 simulator_show_decoplan5_0:
717 btfsc FLAG_ccr_mode ; =1: CCR mode (Fixed ppO2 or Sensor) active 717 btfsc FLAG_ccr_mode ; =1: CCR mode (Fixed ppO2 or Sensor) active
718 return ; YES: Return to simulator menu 718 return ; YES: Return to simulator menu
719 719
720 ; Make sure to pass first gas 720 ; Make sure to pass first gas
726 extern deco_gas_volumes 726 extern deco_gas_volumes
727 call deco_gas_volumes 727 call deco_gas_volumes
728 movlb .1 728 movlb .1
729 729
730 ; Clear the complete stop result column: 730 ; Clear the complete stop result column:
731 WIN_BOX_BLACK .0, .239, .85, .159 ;top, bottom, left, right 731 WIN_BOX_BLACK .0, .239, .80, .159 ; top, bottom, left, right
732 732
733 movlw .25 733 movlw .25
734 movwf waitms_temp ; Row for gas list is .25+.25 734 movwf waitms_temp ; Row for gas list is .25+.25
735 clrf wait_temp ; Gas counter 735 clrf wait_temp ; Gas counter
736 lfsr FSR0,int_O_gas_volumes ; Initialize indexed addressing. 736 lfsr FSR0,int_O_gas_volumes ; Initialize indexed addressing.