Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/start.asm @ 392:8e272339fb68 64kByte Logbook
1.91beta RC
author | heinrichsweikamp |
---|---|
date | Tue, 21 Jun 2011 17:37:32 +0200 |
parents | a847f416e67e |
children | 392c14a1d6d1 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/start.asm Sun Jun 19 20:22:52 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/start.asm Tue Jun 21 17:37:32 2011 +0200 @@ -128,6 +128,15 @@ movwf EEDATA call write_eeprom ; write version y clrf EEADRH ; Reset EEADRH + +; Reset CF48 + movlw d'1' + movwf EEADRH ; Bank1 + clrf EEDATA ; =0 + write_int_eeprom d'191' + write_int_eeprom d'192' + write_int_eeprom d'193' + write_int_eeprom d'194' ; Reset Default and Current Value to zero ; goto reset_all_cf ; resets all custom functions bank0 and bank1 and jumps to "restart" restart: