comparison code_part1/OSTC_code_asm_part1/divemode_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 d36fe3651d56
children 544a96faa9f3 b5b030c1ae7e
comparison
equal deleted inserted replaced
336:9ee86a19f1fa 337:6bdf80d7276c
22 ; known bugs: 22 ; known bugs:
23 ; ToDo: 23 ; ToDo:
24 24
25 25
26 test_switches_divemode: ; checks switches in divemode 26 test_switches_divemode: ; checks switches in divemode
27 btfsc uart_dump_screen ; Asked to dump screen contains ?
28 call dump_screen ; Yes!
29
27 btfsc switch_left 30 btfsc switch_left
28 bra test_switches_divemode2 31 bra test_switches_divemode2
29 32
30 btfss switch_right 33 btfss switch_right
31 return 34 return
101 bcf switch_right 104 bcf switch_right
102 bcf switch_left ; Left button pressed! 105 bcf switch_left ; Left button pressed!
103 return 106 return
104 107
105 test_switches_divemode_menu: 108 test_switches_divemode_menu:
109 btfsc uart_dump_screen ; Asked to dump screen contains ?
110 call dump_screen ; Yes!
111
106 btfsc switch_left 112 btfsc switch_left
107 bra test_switches_divemode_menu3 113 bra test_switches_divemode_menu3
108 btfss switch_right 114 btfss switch_right
109 return 115 return
110
111 btfsc uart_dump_screen ; Asked to dump screen contains ?
112 call dump_screen ; Yes!
113 116
114 btfsc display_see_deco ; Is the Decoplan displayed? 117 btfsc display_see_deco ; Is the Decoplan displayed?
115 bra divemenu_see_decoplan2 ; Yes, exit menu on left button press 118 bra divemenu_see_decoplan2 ; Yes, exit menu on left button press
116 119
117 bcf switch_right ; Left button pressed 120 bcf switch_right ; Left button pressed