comparison code_part1/OSTC_code_asm_part1/start.asm @ 411:e6e1b89b7c3e

BUGFIX: CNS was not cleared with a "Reset Deco"
author heinrichsweikamp
date Tue, 12 Jul 2011 20:21:57 +0200
parents 392c14a1d6d1
children b2c9cc018671
comparison
equal deleted inserted replaced
410:c6f9eb123b85 411:e6e1b89b7c3e
219 cpfseq EEDATA ; Compare with last version 219 cpfseq EEDATA ; Compare with last version
220 bra restart_01 ; New CF, show warning and store new number 220 bra restart_01 ; New CF, show warning and store new number
221 bra restart_1 ; No new CF, continue with boot 221 bra restart_1 ; No new CF, continue with boot
222 restart_01: 222 restart_01:
223 ; Save new number of current CF count 223 ; Save new number of current CF count
224 call PLED_boot ; PLED boot (Incl. Clear Screen!) 224 call PLED_boot ; PLED boot (Incl. Clear Screen!)
225 rcall display_new_cf_installed; Show warning 225 rcall display_new_cf_installed; Show warning
226 movlw max_custom_number ; Defined in definitions.asm 226 movlw max_custom_number ; Defined in definitions.asm
227 movwf EEDATA 227 movwf EEDATA
228 write_int_eeprom d'92' ; Store number of CF used in this firmware 228 write_int_eeprom d'92' ; Store number of CF used in this firmware
229 229