Mercurial > public > hwos_code
comparison src/divemode.asm @ 315:4f83470dcece new_screen_layout
VSIbar #3: remaining changes for the split style bar
author | Janos Kovacs <kovjanos@gmail.com> |
---|---|
date | Wed, 10 Jun 2015 22:32:38 +0100 |
parents | 453a3d13570f |
children | 6d8c82fe5a01 |
comparison
equal
deleted
inserted
replaced
314:226e1405b86c | 315:4f83470dcece |
---|---|
565 bcf divemode_menu ; Timeout! Clear flag | 565 bcf divemode_menu ; Timeout! Clear flag |
566 call TFT_clear_divemode_menu ; Clear menu | 566 call TFT_clear_divemode_menu ; Clear menu |
567 call TFT_active_gas_divemode ; Redraw gas/setpoint/diluent | 567 call TFT_active_gas_divemode ; Redraw gas/setpoint/diluent |
568 bcf blinking_better_gas ; Clear flag to have temperature updated once | 568 bcf blinking_better_gas ; Clear flag to have temperature updated once |
569 call TFT_temp_divemode ; Displays temperature | 569 call TFT_temp_divemode ; Displays temperature |
570 call TFT_draw_gassep_line ; Gas separator grid in spec mode only | |
570 | 571 |
571 btfss decostop_active ; In deco mode ? | 572 btfss decostop_active ; In deco mode ? |
572 bra timeout_divemode_menu_ndl ; No, show NDL again | 573 bra timeout_divemode_menu_ndl ; No, show NDL again |
573 ; Show deco | 574 ; Show deco |
574 call TFT_display_deko_mask ; clear nostop time, display decodata | 575 call TFT_display_deko_mask ; clear nostop time, display decodata |
993 movwf apnoe_timeout_counter | 994 movwf apnoe_timeout_counter |
994 return | 995 return |
995 | 996 |
996 divemode_option3: ; minus 1m | 997 divemode_option3: ; minus 1m |
997 banksel isr_backup | 998 banksel isr_backup |
998 movlw d'10' | 999 movlw d'100' |
999 subwf sim_pressure+0 | 1000 subwf sim_pressure+0 |
1000 movlw .0 | 1001 movlw .0 |
1001 subwfb sim_pressure+1 | 1002 subwfb sim_pressure+1 |
1002 rcall divemode_simulator_check_limits | 1003 rcall divemode_simulator_check_limits |
1003 banksel common | 1004 banksel common |
1004 return | 1005 return |
1005 | 1006 |
1006 divemode_option2: ; plus 1m | 1007 divemode_option2: ; plus 1m |
1007 banksel isr_backup | 1008 banksel isr_backup |
1008 movlw d'10' | 1009 movlw d'100' |
1009 addwf sim_pressure+0 | 1010 addwf sim_pressure+0 |
1010 movlw .0 | 1011 movlw .0 |
1011 addwfc sim_pressure+1 | 1012 addwfc sim_pressure+1 |
1012 rcall divemode_simulator_check_limits | 1013 rcall divemode_simulator_check_limits |
1013 banksel common | 1014 banksel common |