Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/start.asm @ 622:f87205426add
2.50 rc1
author | heinrichsweikamp |
---|---|
date | Tue, 07 Aug 2012 16:14:35 +0200 |
parents | c3336f944e53 |
children | e6ac142e82b0 |
comparison
equal
deleted
inserted
replaced
621:e7b675c28896 | 622:f87205426add |
---|---|
243 cpfseq EEDATA ; Compare with last version | 243 cpfseq EEDATA ; Compare with last version |
244 bra restart1 ; New CF, show warning and store new number | 244 bra restart1 ; New CF, show warning and store new number |
245 bra restart2 ; No new CF, continue with boot | 245 bra restart2 ; No new CF, continue with boot |
246 | 246 |
247 restart1: | 247 restart1: |
248 ; Reset Bank2 if required | 248 ; Reset all CF and Gases |
249 movlw max_custom_number | 249 call reset_gases |
250 btfsc WREG,6 ; >63? | 250 call reset_all_cf |
251 call reset_all_cf_bank2 | |
252 ; Show info screen | 251 ; Show info screen |
253 call PLED_boot ; PLED boot (Incl. Clear Screen!) | 252 call PLED_boot ; PLED boot (Incl. Clear Screen!) |
254 rcall display_new_cf_installed; Show info screen | 253 rcall display_new_cf_installed; Show info screen |
255 ; Save new number of current CF count | 254 ; Save new number of current CF count |
256 movlw max_custom_number ; Defined in definitions.asm | 255 movlw max_custom_number ; Defined in definitions.asm |