Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 599:76b85952b9cd
minor display update
author | heinrichsweikamp |
---|---|
date | Sun, 24 Jun 2012 20:25:39 +0200 |
parents | f3735da18809 |
children | 530a5c994ca2 |
comparison
equal
deleted
inserted
replaced
598:f3735da18809 | 599:76b85952b9cd |
---|---|
63 bra diveloop_loop1b ; One Second Tasks in Apnoe mode | 63 bra diveloop_loop1b ; One Second Tasks in Apnoe mode |
64 btfsc FLAG_const_ppO2_mode ; only in const_ppO2_mode | 64 btfsc FLAG_const_ppO2_mode ; only in const_ppO2_mode |
65 bra diveloop_loop1c ; One Second Tasks in const_ppO2 mode | 65 bra diveloop_loop1c ; One Second Tasks in const_ppO2 mode |
66 | 66 |
67 ; Tasks only for OC modes | 67 ; Tasks only for OC modes |
68 btfsc show_safety_stop ; Show the safety stop? | |
69 call PLED_show_safety_stop ; Yes, show/delete if done. | |
68 call check_ppO2 ; check ppO2 and displays warning if required | 70 call check_ppO2 ; check ppO2 and displays warning if required |
69 call calc_deko_divemode ; calculate decompression and display result (any two seconds) | 71 call calc_deko_divemode ; calculate decompression and display result (any two seconds) |
70 btfsc show_safety_stop ; Show the safety stop? | |
71 call PLED_show_safety_stop ; Yes, show/delete if done. | |
72 bra diveloop_loop1x ; Common Tasks | 72 bra diveloop_loop1x ; Common Tasks |
73 | 73 |
74 ; Tasks only for Gauge mode | 74 ; Tasks only for Gauge mode |
75 diveloop_loop1a: | 75 diveloop_loop1a: |
76 btfss premenu ; Is the divemode menu active? | 76 btfss premenu ; Is the divemode menu active? |
95 call divemode_apnoe_tasks ; 1 sec. Apnoe tasks | 95 call divemode_apnoe_tasks ; 1 sec. Apnoe tasks |
96 bra diveloop_loop1x ; Common Tasks | 96 bra diveloop_loop1x ; Common Tasks |
97 | 97 |
98 ; Tasks only for ppO2 mode | 98 ; Tasks only for ppO2 mode |
99 diveloop_loop1c: | 99 diveloop_loop1c: |
100 btfsc show_safety_stop ; Show the safety stop? | |
101 call PLED_show_safety_stop ; Yes, show/delete if done. | |
100 call PLED_const_ppO2_value ; display const ppO2 setting in [bar] | 102 call PLED_const_ppO2_value ; display const ppO2 setting in [bar] |
101 call calc_deko_divemode ; calculate decompression and display result (any two seconds) | 103 call calc_deko_divemode ; calculate decompression and display result (any two seconds) |
102 btfsc show_safety_stop ; Show the safety stop? | |
103 call PLED_show_safety_stop ; Yes, show/delete if done. | |
104 btfsc is_bailout ; Are we in Bailout mode? | 104 btfsc is_bailout ; Are we in Bailout mode? |
105 call check_ppO2_bail ; Yes, display ppO2 (If required) | 105 call check_ppO2_bail ; Yes, display ppO2 (If required) |
106 | 106 |
107 bra diveloop_loop1x ; Common Tasks | 107 bra diveloop_loop1x ; Common Tasks |
108 | 108 |