comparison code_part1/OSTC_code_asm_part1/start.asm @ 12:588a969a0cae

1.53 beta rc
author heinrichsweikamp
date Wed, 24 Mar 2010 20:26:09 +0100
parents 3cf8af30b36e
children 6d1177291d38
comparison
equal deleted inserted replaced
11:0ce100556b57 12:588a969a0cae
153 movlw max_custom_number ; Defined in definitions.asm 153 movlw max_custom_number ; Defined in definitions.asm
154 movwf EEDATA 154 movwf EEDATA
155 write_int_eeprom d'92' ; Store number of CF used in this firmware 155 write_int_eeprom d'92' ; Store number of CF used in this firmware
156 156
157 restart_1: 157 restart_1:
158 GETCUSTOM15 .31 158 btfss pressure_refresh ; Wait for pressure sensor...
159 movlw LOW .666 159 bra restart_1 ; loop until pressure and temp stable
160 cpfseq lo 160
161 bra restart_2 ; Not equal! 161 ; call startup_screen3 ;splash screen
162 movlw HIGH .666 162 ; GETCUSTOM15 .31
163 cpfseq hi 163 ; movlw LOW .666
164 bra restart_2 ; Not equal! 164 ; cpfseq lo
165 bra restart_3 ; Skip screen.... 165 ; bra restart_2 ; Not equal!
166 166 ; movlw HIGH .666
167 restart_2: 167 ; cpfseq hi
168 btfsc show_startup_screen ; Show start screen? 168 ; bra restart_2 ; Not equal!
169 call startup_screen1 ;1/2 169 ; bra restart_3 ; Skip screen....
170 btfsc show_startup_screen ; Show start screen? 170 ;
171 call startup_screen2 ;2/2 171 ;restart_2:
172 172 ; btfsc show_startup_screen ; Show start screen?
173 restart_3: 173 ; call startup_screen1 ;1/2
174 ; btfsc show_startup_screen ; Show start screen?
175 ; call startup_screen2 ;2/2
176 ;
177 ;restart_3:
174 clrf flag1 ; clear all flags 178 clrf flag1 ; clear all flags
175 clrf flag2 179 clrf flag2
176 clrf flag3 180 clrf flag3
177 clrf flag4 181 clrf flag4
178 clrf flag5 182 clrf flag5