comparison code_part1/OSTC_code_asm_part1/menu.asm @ 686:8ffbd5cb4b42

Hard-coded min. Values for CF00 and CF01 Set cursor to "Exit" when leaving sub-menus
author heinrichsweikamp
date Sat, 26 Jan 2013 14:36:26 +0100
parents 6e456a6398e0
children 91ae251d379f
comparison
equal deleted inserted replaced
685:aebb6d039249 686:8ffbd5cb4b42
144 goto menu_battery_state 144 goto menu_battery_state
145 dcfsnz menupos,F 145 dcfsnz menupos,F
146 goto menu_simulator 146 goto menu_simulator
147 dcfsnz menupos,F 147 dcfsnz menupos,F
148 goto altimeter_menu 148 goto altimeter_menu
149 movlw d'5' 149 movlw d'6'
150 movwf menupos 150 movwf menupos
151 bra menu2 ; exit... 151 bra menu2 ; exit...
152 152
153 setup_menu: 153 setup_menu:
154 bcf deco_mode_changed ; Clear flag 154 bcf deco_mode_changed ; Clear flag
338 bra show_license 338 bra show_license
339 dcfsnz menupos,F 339 dcfsnz menupos,F
340 bra toggle_salinity 340 bra toggle_salinity
341 dcfsnz menupos,F 341 dcfsnz menupos,F
342 bra toggle_brightness ; toggle between ECO and HIGH 342 bra toggle_brightness ; toggle between ECO and HIGH
343 movlw d'5' ; set cursor to "More again" 343 movlw d'6' ; set cursor to "More again"
344 movwf menupos 344 movwf menupos
345 bra setup_menu2 ; exit... 345 bra setup_menu2 ; exit...
346 346
347 show_license: 347 show_license:
348 call startup_screen1 ;1/2 348 call startup_screen1 ;1/2