Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/start.asm @ 255:1efd59d689f8
small change in the set time menu, default setpoints set to 0.8, 1.0 and 1.2Bar
author | heinrichsweikamp |
---|---|
date | Sun, 10 Apr 2011 09:17:20 +0200 |
parents | 3ed240d60341 |
children | ab1678d98e46 |
comparison
equal
deleted
inserted
replaced
254:8f20e8948b97 | 255:1efd59d689f8 |
---|---|
183 movlw .0 | 183 movlw .0 |
184 cpfsgt EEDATA ; >256 | 184 cpfsgt EEDATA ; >256 |
185 bsf nsm ; NO-SLEEP-MODE : for hardware debugging | 185 bsf nsm ; NO-SLEEP-MODE : for hardware debugging |
186 | 186 |
187 call gassetup_sort_gaslist ; Sorts Gaslist according to change depth | 187 call gassetup_sort_gaslist ; Sorts Gaslist according to change depth |
188 call PLED_boot ; PLED boot (Incl. Clear Screen!) | |
189 WIN_TOP .0 | 188 WIN_TOP .0 |
190 WIN_LEFT .0 | 189 WIN_LEFT .0 |
191 WIN_FONT FT_SMALL | 190 WIN_FONT FT_SMALL |
192 WIN_INVERT .0 ; Init new Wordprocessor | 191 WIN_INVERT .0 ; Init new Wordprocessor |
193 setf WREG | 192 setf WREG |
204 cpfseq EEDATA ; Compare with last version | 203 cpfseq EEDATA ; Compare with last version |
205 bra restart_01 ; New CF, show warning and store new number | 204 bra restart_01 ; New CF, show warning and store new number |
206 bra restart_1 ; No new CF, continue with boot | 205 bra restart_1 ; No new CF, continue with boot |
207 restart_01: | 206 restart_01: |
208 ; Save new number of current CF count | 207 ; Save new number of current CF count |
208 call PLED_boot ; PLED boot (Incl. Clear Screen!) | |
209 rcall display_new_cf_installed; Show warning | 209 rcall display_new_cf_installed; Show warning |
210 movlw max_custom_number ; Defined in definitions.asm | 210 movlw max_custom_number ; Defined in definitions.asm |
211 movwf EEDATA | 211 movwf EEDATA |
212 write_int_eeprom d'92' ; Store number of CF used in this firmware | 212 write_int_eeprom d'92' ; Store number of CF used in this firmware |
213 | 213 |