Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/menu_gassetup.asm @ 337:6bdf80d7276c ScreenDump
Added screen dumps of general menus.
Added screen dumps in logbook, gassetup, license.
Added screen dumps in altimeter, decoplan.
author | JeanDo |
---|---|
date | Tue, 17 May 2011 01:05:04 +0200 |
parents | d36fe3651d56 |
children | ed26990716fe |
comparison
equal
deleted
inserted
replaced
336:9ee86a19f1fa | 337:6bdf80d7276c |
---|---|
177 incf decodata+0,F | 177 incf decodata+0,F |
178 movlw d'5' | 178 movlw d'5' |
179 cpfseq decodata+0 | 179 cpfseq decodata+0 |
180 goto menu_gassetup_list | 180 goto menu_gassetup_list |
181 | 181 |
182 DISPLAYTEXT .11 ; Exit | 182 DISPLAYTEXT .11 ; Exit |
183 call wait_switches ; Waits until switches are released, resets flag if button stays pressed! | 183 call wait_switches ; Waits until switches are released, resets flag if button stays pressed! |
184 call PLED_menu_cursor | 184 call PLED_menu_cursor |
185 | 185 |
186 gassetup_list_loop: | 186 gassetup_list_loop: |
187 call check_switches_logbook | 187 call check_switches_logbook |
188 | 188 |
189 btfsc menubit3 | 189 btfsc menubit3 |
190 bra gassetup_list2 ; move cursor | 190 bra gassetup_list2 ; move cursor |
191 | 191 |
192 btfsc menubit2 | 192 btfsc menubit2 |
193 bra do_gassetup_list; call gas-specific submenu | 193 bra do_gassetup_list ; call gas-specific submenu |
194 | 194 |
195 btfsc divemode | 195 btfsc divemode |
196 goto restart ; dive started! | 196 goto restart ; dive started! |
197 | 197 |
198 btfsc onesecupdate | 198 btfsc onesecupdate |
199 call timeout_surfmode | 199 call timeout_surfmode |
200 | 200 |
201 btfsc onesecupdate | 201 btfsc onesecupdate |
202 call set_dive_modes | 202 call set_dive_modes |
203 | 203 |
204 bcf onesecupdate ; 1 sec. functions done | 204 bcf onesecupdate ; 1 sec. functions done |
205 | 205 |
206 btfsc sleepmode | 206 btfsc sleepmode |
207 bra exit_gassetup_list | 207 bra exit_gassetup_list |
208 | 208 |
209 bra gassetup_list_loop | 209 bra gassetup_list_loop |
778 btfsc onesecupdate | 778 btfsc onesecupdate |
779 call set_dive_modes | 779 call set_dive_modes |
780 | 780 |
781 bcf onesecupdate ; 1 sec. functions done | 781 bcf onesecupdate ; 1 sec. functions done |
782 | 782 |
783 btfsc uart_dump_screen ; Dumps screen contains ? | |
784 call dump_screen ; Yes! | |
785 | |
786 btfsc sleepmode | |
787 bra exit_gassetup | |
788 | |
789 bra next_gas_page_loop | 783 bra next_gas_page_loop |
790 | 784 |
791 next_gas_page2: | 785 next_gas_page2: |
792 incf menupos,F | 786 incf menupos,F |
793 | 787 |