Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/start.asm @ 838:2750099bf5bb
3.15 release
author | heinrichsweikamp |
---|---|
date | Tue, 19 Jan 2021 12:57:23 +0100 |
parents | e49a35ab7394 |
children |
comparison
equal
deleted
inserted
replaced
837:23ed973d4fb9 | 838:2750099bf5bb |
---|---|
127 call read_eeprom ; read current version y | 127 call read_eeprom ; read current version y |
128 movff EEDATA,temp2 | 128 movff EEDATA,temp2 |
129 clrf EEADRH ; Reset EEADRH | 129 clrf EEADRH ; Reset EEADRH |
130 | 130 |
131 movlw softwareversion_x | 131 movlw softwareversion_x |
132 cpfseq temp1 ; compare version x | 132 ; cpfseq temp1 ; compare version x |
133 bra check_firmware_new ; is not equal -> reset CF and store new version in EEPROM | 133 bra check_firmware_new ; is not equal -> reset CF and store new version in EEPROM |
134 | 134 |
135 movlw softwareversion_y | 135 movlw softwareversion_y |
136 cpfseq temp2 ; compare version y | 136 cpfseq temp2 ; compare version y |
137 bra check_firmware_new ; is not equal -> reset CF and store new version in EEPROM | 137 bra check_firmware_new ; is not equal -> reset CF and store new version in EEPROM |
167 write_int_eeprom d'117' | 167 write_int_eeprom d'117' |
168 write_int_eeprom d'118' | 168 write_int_eeprom d'118' |
169 write_int_eeprom d'119' | 169 write_int_eeprom d'119' |
170 ; SP Mode (Manual) | 170 ; SP Mode (Manual) |
171 write_int_eeprom d'116' | 171 write_int_eeprom d'116' |
172 ; call reset_all_cf_bank2 ; Reset CF64-93 with this update.... | 172 call reset_all_cf_bank2 ; Reset CF64-93 with this update.... |
173 | 173 |
174 restart: | 174 restart: |
175 ; check for time/date vault | 175 ; check for time/date vault |
176 movlw .1 | 176 movlw .1 |
177 movwf EEADRH | 177 movwf EEADRH |