Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/eeprom_rs232.asm @ 681:6e456a6398e0
Hardware4 support
author | heinrichsweikamp |
---|---|
date | Fri, 25 Jan 2013 18:00:49 +0100 |
parents | fbd5e2b75a63 |
children | 39e02673db4c |
comparison
equal
deleted
inserted
replaced
680:c6220d340684 | 681:6e456a6398e0 |
---|---|
219 bsf rs232_recieve_overflow ; set flag | 219 bsf rs232_recieve_overflow ; set flag |
220 return ; and return anyway | 220 return ; and return anyway |
221 | 221 |
222 uart_115k_bootloader: | 222 uart_115k_bootloader: |
223 bcf PIE1,RCIE ; disable interrupt for RS232 | 223 bcf PIE1,RCIE ; disable interrupt for RS232 |
224 call PLED_ClearScreen ; Clear screen | 224 call DISP_ClearScreen ; Clear screen |
225 movlw color_red | 225 movlw color_red |
226 call PLED_set_color ; Set to Red | 226 call DISP_set_color ; Set to Red |
227 DISPLAYTEXTH d'302' ; Bootloader | 227 DISPLAYTEXTH d'302' ; Bootloader |
228 bcf RCSTA,CREN ; Clear receiver status | 228 bcf RCSTA,CREN ; Clear receiver status |
229 bsf RCSTA,CREN | 229 bsf RCSTA,CREN |
230 bcf PIR1,RCIF ; clear flag | 230 bcf PIR1,RCIF ; clear flag |
231 movlw d'200' ; one second | 231 movlw d'200' ; one second |