Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/menu.asm @ 297:ceedf078b2d8
Gas Setup page 2 reworked, Texts 107, 108, 109,150, 149, 168, 42, 43, 53,54,55, 165 need update in french, spanish and german
author | Heinrichsweikamp |
---|---|
date | Fri, 29 Apr 2011 20:17:32 +0200 |
parents | caf6153b26cb |
children | 6bdf80d7276c |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu.asm Thu Apr 28 18:51:48 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/menu.asm Fri Apr 29 20:17:32 2011 +0200 @@ -45,14 +45,13 @@ bsf cursor call PLED_menu_mask call PLED_menu_cursor - bcf switch_left - bcf switch_right + rcall wait_switches menu_loop: call check_switches_menu btfsc menubit2 - bra do_menu ; call submenu + bra do_menu ; call submenu btfss menubit goto restart ; exit menu, restart @@ -81,15 +80,15 @@ check_switches_menu: ; checks switches btfss switch_right - bra check_switches_menu2 + bra check_switches_menu2 bsf menubit3 incf menupos,F movlw d'6' cpfsgt menupos - bra refresh_cursor + bra refresh_cursor movlw d'1' movwf menupos - bra refresh_cursor + bra refresh_cursor check_switches_menu2: btfsc switch_left bsf menubit2 ; Enter! @@ -115,6 +114,7 @@ btfsc cursor call PLED_menu_cursor bcf switch_right + bcf switch_left return more_menu: