Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 2:d11ef8dc4b2c
Bugfix: PC simulator
author | heinrichsweikamp |
---|---|
date | Wed, 20 Jan 2010 15:17:37 +0100 |
parents | 96a35aeda5f2 |
children | 3cf8af30b36e |
comparison
equal
deleted
inserted
replaced
1:210410f7c1b4 | 2:d11ef8dc4b2c |
---|---|
151 call update_divemode60 ; Update clock, etc. | 151 call update_divemode60 ; Update clock, etc. |
152 | 152 |
153 btfsc store_sample ; store new sample? | 153 btfsc store_sample ; store new sample? |
154 call store_dive_data ; Store profile data | 154 call store_dive_data ; Store profile data |
155 | 155 |
156 btfss menubit ; Sleep only with inactive menu... | 156 btfsc menubit ; Sleep only with inactive menu... |
157 bra diveloop_loop4 | |
158 | |
159 btfsc simulatormode_active ; Do not sleep in Simualtor mode | |
160 bra diveloop_loop4 | |
161 | |
157 sleep | 162 sleep |
158 | |
159 nop | 163 nop |
164 diveloop_loop4: | |
160 bra diveloop_loop ; Loop the divemode | 165 bra diveloop_loop ; Loop the divemode |
161 | 166 |
162 timeout_premenu_divemode: | 167 timeout_premenu_divemode: |
163 incf timeout_counter3,F ; Yes... | 168 incf timeout_counter3,F ; Yes... |
164 | 169 |