comparison 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
comparison
equal deleted inserted replaced
573:77c8ff191cd7 574:101fec6a6137
169 call read_eeprom ; Highbyte 169 call read_eeprom ; Highbyte
170 movff EEDATA,hi 170 movff EEDATA,hi
171 clrf EEADRH 171 clrf EEADRH
172 return ; return 172 return ; return
173 173
174 menu_custom_functions_page3:
175 movlw .2
176 movff WREG,cf_page_number ; CF page number (0: 0-31, 1: 32-63)
177 movlw .225
178 movff WREG,cf_title_text ; # of text for title
179 movlw .193
180 movff WREG,cf_descriptor_text ; # of descriptor text offset
181 bra menu_custom_functions0
182
174 menu_custom_functions_page2: 183 menu_custom_functions_page2:
175 movlw .1 184 movlw .1
176 movff WREG,cf_page_number ; CF page number (0: 0-31, 1: 32-63) 185 movff WREG,cf_page_number ; CF page number (0: 0-31, 1: 32-63)
177 movlw .186 186 movlw .186
178 movff WREG,cf_title_text ; # of text for title 187 movff WREG,cf_title_text ; # of text for title
179 movlw .154 188 movlw .154
180 movff WREG,cf_descriptor_text ; # of descriptor text offset 189 movff WREG,cf_descriptor_text ; # of descriptor text offset
181 bra menu_custom_functions0 190 bra menu_custom_functions0
182 191
183 menu_custom_functions: 192 menu_custom_functions:
193 movlw .0
194 movff WREG,cf_page_number ; CF page number (0: 0-31, 1: 32-63)
195 movlw .27
196 movff WREG,cf_title_text ; # of text for title
184 movlw .36 197 movlw .36
185 movff WREG,cf_descriptor_text ; # of descriptor text offset 198 movff WREG,cf_descriptor_text ; # of descriptor text offset
186 movlw .27
187 movff WREG,cf_title_text ; # of text for title
188 movlw .0
189 movff WREG,cf_page_number ; CF page number (0: 0-31, 1: 32-63)
190
191 199
192 menu_custom_functions0: 200 menu_custom_functions0:
193 bsf leftbind 201 bsf leftbind
194 call PLED_ClearScreen 202 call PLED_ClearScreen
195 movlw d'1' 203 movlw d'1'