comparison code_part1/OSTC_code_asm_part1/start.asm @ 393:392c14a1d6d1 64kByte Logbook

1.91beta release - 1.92beta start
author heinrichsweikamp
date Tue, 21 Jun 2011 19:36:59 +0200
parents 8e272339fb68
children e6e1b89b7c3e
comparison
equal deleted inserted replaced
392:8e272339fb68 393:392c14a1d6d1
129 call write_eeprom ; write version y 129 call write_eeprom ; write version y
130 clrf EEADRH ; Reset EEADRH 130 clrf EEADRH ; Reset EEADRH
131 131
132 ; Reset CF48 132 ; Reset CF48
133 movlw d'1' 133 movlw d'1'
134 movwf EEADRH ; Bank1 134 movwf EEADRH ; EEPROM Bank1
135 clrf EEDATA ; =0 135 clrf EEDATA ; =0
136 write_int_eeprom d'191' 136 write_int_eeprom d'191'
137 write_int_eeprom d'192' 137 write_int_eeprom d'192'
138 write_int_eeprom d'193' 138 write_int_eeprom d'193'
139 write_int_eeprom d'194' ; Reset Default and Current Value to zero 139 write_int_eeprom d'194' ; Reset Default and Current Value to zero
140 clrf EEADRH
140 ; goto reset_all_cf ; resets all custom functions bank0 and bank1 and jumps to "restart" 141 ; goto reset_all_cf ; resets all custom functions bank0 and bank1 and jumps to "restart"
141 142
142 restart: 143 restart:
143 movlw b'00000011' 144 movlw b'00000011'
144 movwf T3CON ; Timer3 with 32768Hz clock running 145 movwf T3CON ; Timer3 with 32768Hz clock running