Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/menu_custom.asm @ 574:101fec6a6137
New Custom Functions III menu (CF64-CF95)
author | heinrichsweikamp |
---|---|
date | Sat, 21 Apr 2012 13:58:30 +0200 |
parents | 77c8ff191cd7 |
children | ab2686087bce |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_custom.asm Sat Apr 21 12:09:37 2012 +0200 +++ b/code_part1/OSTC_code_asm_part1/menu_custom.asm Sat Apr 21 13:58:30 2012 +0200 @@ -171,6 +171,15 @@ clrf EEADRH return ; return +menu_custom_functions_page3: + movlw .2 + movff WREG,cf_page_number ; CF page number (0: 0-31, 1: 32-63) + movlw .225 + movff WREG,cf_title_text ; # of text for title + movlw .193 + movff WREG,cf_descriptor_text ; # of descriptor text offset + bra menu_custom_functions0 + menu_custom_functions_page2: movlw .1 movff WREG,cf_page_number ; CF page number (0: 0-31, 1: 32-63) @@ -181,13 +190,12 @@ bra menu_custom_functions0 menu_custom_functions: - movlw .36 - movff WREG,cf_descriptor_text ; # of descriptor text offset + movlw .0 + movff WREG,cf_page_number ; CF page number (0: 0-31, 1: 32-63) movlw .27 movff WREG,cf_title_text ; # of text for title - movlw .0 - movff WREG,cf_page_number ; CF page number (0: 0-31, 1: 32-63) - + movlw .36 + movff WREG,cf_descriptor_text ; # of descriptor text offset menu_custom_functions0: bsf leftbind