comparison code_part1/OSTC_code_asm_part1/divemode_menu.asm @ 112:9500f431248a

1.74beta rc2
author heinrichsweikamp
date Wed, 22 Dec 2010 10:32:06 +0100
parents ed7826c740a0
children 50a06adabc67
comparison
equal deleted inserted replaced
111:ed7826c740a0 112:9500f431248a
21 ; last updated: 090305 21 ; last updated: 090305
22 ; known bugs: 22 ; known bugs:
23 ; ToDo: 23 ; ToDo:
24 24
25 25
26 test_switches_divemode: 26 test_switches_divemode: ; checks switches in divemode
27 ; checks switches in divemode
28 btfsc switch_left 27 btfsc switch_left
29 bra test_switches_divemode2 28 bra test_switches_divemode2
30 29
31 btfss switch_right 30 btfss switch_right
32 return 31 return
59 btfsc premenu 58 btfsc premenu
60 bra test_switches_divemode2_2 59 bra test_switches_divemode2_2
61 btfsc menubit 60 btfsc menubit
62 bra test_switches_divemode2_2 ; Not in Premenu or Menu... 61 bra test_switches_divemode2_2 ; Not in Premenu or Menu...
63 62
64 bsf toggle_customview ; Toggle customview (Cleared in customview.asm) 63 bsf toggle_customview ; Toggle customview (Cleared in customview.asm)
65 btfsc standalone_simulator ; Standalone Simualtor active? 64
66 bra divemode_menu_simulator ; Yes, Show simulator menu! 65 btfsc standalone_simulator ; Standalone Simualtor active?
66 bra divemode_menu_simulator ; Yes, Show simulator menu!
67 return
67 68
68 test_switches_divemode2_2: 69 test_switches_divemode2_2:
69 btfss FLAG_apnoe_mode ; In Apnoe mode? 70 btfss FLAG_apnoe_mode ; In Apnoe mode?
70 bra test_switches_divemode2a; No! 71 bra test_switches_divemode2a; No!
71 72