comparison src/divemode.asm @ 310:453a3d13570f new_screen_layout

VSIbar #2: ascend bar + max-depth title alignment. Debug: bar-frame, zero-line, sim+- 0.1m
author janos_kovacs <kovjanos@gmail.com>
date Mon, 08 Jun 2015 01:36:05 +0200
parents 14719662fb95
children 4f83470dcece
comparison
equal deleted inserted replaced
309:efb53af0d62a 310:453a3d13570f
993 movwf apnoe_timeout_counter 993 movwf apnoe_timeout_counter
994 return 994 return
995 995
996 divemode_option3: ; minus 1m 996 divemode_option3: ; minus 1m
997 banksel isr_backup 997 banksel isr_backup
998 movlw d'100' 998 movlw d'10'
999 subwf sim_pressure+0 999 subwf sim_pressure+0
1000 movlw .0 1000 movlw .0
1001 subwfb sim_pressure+1 1001 subwfb sim_pressure+1
1002 rcall divemode_simulator_check_limits 1002 rcall divemode_simulator_check_limits
1003 banksel common 1003 banksel common
1004 return 1004 return
1005 1005
1006 divemode_option2: ; plus 1m 1006 divemode_option2: ; plus 1m
1007 banksel isr_backup 1007 banksel isr_backup
1008 movlw d'100' 1008 movlw d'10'
1009 addwf sim_pressure+0 1009 addwf sim_pressure+0
1010 movlw .0 1010 movlw .0
1011 addwfc sim_pressure+1 1011 addwfc sim_pressure+1
1012 rcall divemode_simulator_check_limits 1012 rcall divemode_simulator_check_limits
1013 banksel common 1013 banksel common