Mercurial > public > hwos_code
comparison src/menu_tree.asm @ 480:ad8acade5567
NEW: PSCR mode (Passive semi-closed rebreather)
author | heinrichsweikamp |
---|---|
date | Mon, 06 Feb 2017 16:26:36 +0100 |
parents | 44b8a826b314 |
children | 3e643ec05dac |
comparison
equal
deleted
inserted
replaced
479:34e73dc68799 | 480:ad8acade5567 |
---|---|
75 btfsc analog_o2_input | 75 btfsc analog_o2_input |
76 bra do_ccr_menu_cR | 76 bra do_ccr_menu_cR |
77 btfss optical_input | 77 btfss optical_input |
78 bra do_ccr_menu_ostc2 | 78 bra do_ccr_menu_ostc2 |
79 | 79 |
80 MENU_BEGIN tCCRSetup, .5 ; OSTC3 menu | 80 MENU_BEGIN tCCRSetup, .6 ; OSTC3 menu |
81 MENU_OPTION tCCRMode, oCCRMode, 0 | 81 MENU_OPTION tCCRMode, oCCRMode, 0 |
82 MENU_CALL tCCRSensor, do_ccr_sensor | 82 MENU_CALL tCCRSensor, do_ccr_sensor |
83 MENU_CALL tDiluentSetup, do_diluent_setup | 83 MENU_CALL tDiluentSetup, do_diluent_setup |
84 MENU_CALL tFixedSetpoints, do_fixed_setpoints | 84 MENU_CALL tFixedSetpoints, do_fixed_setpoints |
85 MENU_CALL tPSCRMenu, do_PSCR_menu | |
85 MENU_CALL tExit, do_continue_main_menu | 86 MENU_CALL tExit, do_continue_main_menu |
86 MENU_END | 87 MENU_END |
87 | 88 |
88 do_ccr_menu_cR: ; cR menu | 89 do_ccr_menu_cR: ; cR menu |
89 MENU_BEGIN tCCRSetup, .6 | 90 MENU_BEGIN tCCRSetup, .7 |
90 MENU_OPTION tCCRMode, oCCRMode, 0 | 91 MENU_OPTION tCCRMode, oCCRMode, 0 |
91 MENU_CALL tCCRSensor, do_ccr_sensor | 92 MENU_CALL tCCRSensor, do_ccr_sensor |
92 MENU_CALL tCalibrateMenu, do_calibrate_menu | 93 MENU_CALL tCalibrateMenu, do_calibrate_menu |
93 MENU_CALL tDiluentSetup, do_diluent_setup | 94 MENU_CALL tDiluentSetup, do_diluent_setup |
94 MENU_CALL tFixedSetpoints, do_fixed_setpoints | 95 MENU_CALL tFixedSetpoints, do_fixed_setpoints |
96 MENU_CALL tPSCRMenu, do_PSCR_menu | |
95 MENU_CALL tExit, do_continue_main_menu | 97 MENU_CALL tExit, do_continue_main_menu |
96 MENU_END | 98 MENU_END |
97 | 99 |
98 do_ccr_menu_ostc2: | 100 do_ccr_menu_ostc2: |
99 MENU_BEGIN tCCRSetup, .4 ; ostc2 menu | 101 MENU_BEGIN tCCRSetup, .5 ; ostc2 menu |
100 MENU_OPTION tCCRMode, oCCRMode, 0 | 102 MENU_OPTION tCCRMode, oCCRMode, 0 |
101 MENU_CALL tDiluentSetup, do_diluent_setup | 103 MENU_CALL tDiluentSetup, do_diluent_setup |
102 MENU_CALL tFixedSetpoints, do_fixed_setpoints | 104 MENU_CALL tFixedSetpoints, do_fixed_setpoints |
105 MENU_CALL tPSCRMenu, do_PSCR_menu | |
103 MENU_CALL tExit, do_continue_main_menu | 106 MENU_CALL tExit, do_continue_main_menu |
104 MENU_END | 107 MENU_END |
105 | 108 |
109 do_PSCR_menu: | |
110 MENU_BEGIN tPSCRMenu, .4 ; PSCR Menu | |
111 MENU_OPTION tPSCR_showppo2, oPSCR_showO2, 0 | |
112 MENU_OPTION tPSCR_O2_drop, oPSCR_drop, 0 | |
113 MENU_OPTION tPSCR_lungratio,oPSCR_lungratio, 0 | |
114 MENU_CALL tExit, do_ccr_menu | |
115 MENU_END | |
106 | 116 |
107 do_calibrate_menu: | 117 do_calibrate_menu: |
108 call enable_ir_s8 ; Enable IR/S8-Port | 118 call enable_ir_s8 ; Enable IR/S8-Port |
109 bsf menu_show_sensors2 ; Set flag | 119 bsf menu_show_sensors2 ; Set flag |
110 do_calibrate_menu2: | 120 do_calibrate_menu2: |