Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/menu.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 | ceedf078b2d8 |
children | efe06a146773 |
comparison
equal
deleted
inserted
replaced
336:9ee86a19f1fa | 337:6bdf80d7276c |
---|---|
76 btfsc divemode | 76 btfsc divemode |
77 goto restart ; exit menu, restart and enter divemode | 77 goto restart ; exit menu, restart and enter divemode |
78 | 78 |
79 bra menu_loop | 79 bra menu_loop |
80 | 80 |
81 check_switches_menu: ; checks switches | 81 check_switches_menu: ; checks switches |
82 btfsc uart_dump_screen ; Asked to dump screen contains ? | |
83 call dump_screen ; Yes! | |
84 | |
82 btfss switch_right | 85 btfss switch_right |
83 bra check_switches_menu2 | 86 bra check_switches_menu2 |
84 bsf menubit3 | 87 bsf menubit3 |
85 incf menupos,F | 88 incf menupos,F |
86 movlw d'6' | 89 movlw d'6' |
422 bcf menubit3 | 425 bcf menubit3 |
423 bsf menubit | 426 bsf menubit |
424 bcf switch_left | 427 bcf switch_left |
425 bcf switch_right | 428 bcf switch_right |
426 show_rawdata_loop: | 429 show_rawdata_loop: |
430 btfsc uart_dump_screen ; Asked to dump screen contains ? | |
431 call dump_screen ; Yes! | |
432 | |
427 btfsc switch_left ; Ack? | 433 btfsc switch_left ; Ack? |
428 bsf menubit2 | 434 bsf menubit2 |
429 btfsc switch_right ; Ack? | 435 btfsc switch_right ; Ack? |
430 bsf menubit2 | 436 bsf menubit2 |
431 | 437 |