comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 335:d36fe3651d56 ScreenDump

Updated to 1.91beta Added screen dumps in cf menu, and in GasList (second page). --> Need a centralized subroutine when waitting switches...
author JeanDo
date Fri, 13 May 2011 02:09:06 +0200
parents b7940978edc9
children 797e2ac42d24
comparison
equal deleted inserted replaced
332:1828234369fc 335:d36fe3651d56
155 call store_dive_data ; Store profile data 155 call store_dive_data ; Store profile data
156 156
157 btfsc toggle_customview ; Next view? 157 btfsc toggle_customview ; Next view?
158 call customview_toggle ; Yes, show next customview (and delete this flag) 158 call customview_toggle ; Yes, show next customview (and delete this flag)
159 159
160 btfsc simulatormode_active ; Is Simualtor mode active ?
161 bra diveloop_loop4 ; YES: don't sleep
162
160 btfsc menubit ; Sleep only with inactive menu... 163 btfsc menubit ; Sleep only with inactive menu...
161 bra diveloop_loop4 164 bra diveloop_loop5
162
163 btfsc simulatormode_active ; Do not sleep in Simualtor mode
164 bra diveloop_loop4
165 165
166 sleep 166 sleep
167 nop 167 nop
168 diveloop_loop4: 168 bra diveloop_loop ; Loop the divemode
169
170 diveloop_loop4: ; And test screen dumps too!
171 btfsc uart_dump_screen ; Asked to dump screen contains ?
172 call dump_screen ; Yes!
173
174 diveloop_loop5:
169 bra diveloop_loop ; Loop the divemode 175 bra diveloop_loop ; Loop the divemode
170 176
171 timeout_premenu_divemode: 177 timeout_premenu_divemode:
172 incf timeout_counter3,F ; Yes... 178 incf timeout_counter3,F ; Yes...
173 179