Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/start.asm @ 327:6544f79e298c
Preparations for stable release (CF reset)
author | heinrichsweikamp |
---|---|
date | Sat, 07 May 2011 18:59:33 +0200 |
parents | 122324dafba7 |
children | 6bdf80d7276c 2144f19fa1eb |
comparison
equal
deleted
inserted
replaced
326:a7ed48daf597 | 327:6544f79e298c |
---|---|
135 incf EEADR,F ; set to 0x102 | 135 incf EEADR,F ; set to 0x102 |
136 movlw softwareversion_y | 136 movlw softwareversion_y |
137 movwf EEDATA | 137 movwf EEDATA |
138 call write_eeprom ; write version y | 138 call write_eeprom ; write version y |
139 clrf EEADRH ; Reset EEADRH | 139 clrf EEADRH ; Reset EEADRH |
140 ; goto reset_all_cf ; resets all custom functions bank0 and bank1 and jumps to "restart" | 140 goto reset_all_cf ; resets all custom functions bank0 and bank1 and jumps to "restart" |
141 ; goto reset_all_cf_bank1 ; resets all custom functions bank1 and jumps to "restart" | |
142 | 141 |
143 restart: | 142 restart: |
144 bcf LED_red | 143 bcf LED_red |
145 bcf LED_blue ; all LEDs off | 144 bcf LED_blue ; all LEDs off |
146 GETCUSTOM8 d'48' ; time correction value | 145 GETCUSTOM8 d'48' ; time correction value |