Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/menu_reset.asm @ 83:3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
author | heinrichsweikamp |
---|---|
date | Tue, 07 Dec 2010 22:36:19 +0100 |
parents | 69c462400279 |
children | b40a0a6284da |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_reset.asm Tue Dec 07 13:22:17 2010 +0100 +++ b/code_part1/OSTC_code_asm_part1/menu_reset.asm Tue Dec 07 22:36:19 2010 +0100 @@ -346,13 +346,13 @@ movff TABLAT, hi ; High byte in hi rcall reset_customfunction ; saves default and current value bra cf_bank0_loop - + reset_all_cf_bank1: movlw d'1' movwf EEADRH ; EEPROM BANK 1 !! movlw d'127' ; address of low byte of first custom function movwf EEADR - + cf_bank1_loop: ; Did we already read another 32 (decimal) bytes ? movf TBLPTRL,W @@ -368,7 +368,7 @@ cf_bank1_end: clrf EEADRH ; EEPROM BANK 0 ! - + ;call reset_external_eeprom ; delete profile memory goto restart ; all reset, quit to surfmode