Mercurial > public > hwos_code
comparison src/comm.asm @ 7:1ab317814dd7
fix custom text <60 chars
| author | heinrichsweikamp |
|---|---|
| date | Tue, 14 May 2013 09:24:49 +0200 |
| parents | 11d4fc797f74 |
| children | ec4d8503ec45 |
comparison
equal
deleted
inserted
replaced
| 6:13cda523891f | 7:1ab317814dd7 |
|---|---|
| 622 movlw opt_name_length | 622 movlw opt_name_length |
| 623 movwf lo ; counter | 623 movwf lo ; counter |
| 624 comm_set_ctext_loop: | 624 comm_set_ctext_loop: |
| 625 call rs232_get_byte | 625 call rs232_get_byte |
| 626 btfsc rs232_recieve_overflow ; Got byte? | 626 btfsc rs232_recieve_overflow ; Got byte? |
| 627 return ; No, abort! | 627 bra comm_download_mode0 ; No, loop with timeout reset |
| 628 movff RCREG1,POSTINC2 ; Store character | 628 movff RCREG1,POSTINC2 ; Store character |
| 629 decfsz lo,F | 629 decfsz lo,F |
| 630 bra comm_set_ctext_loop | 630 bra comm_set_ctext_loop |
| 631 bra comm_download_mode0 ; Done. Loop with timeout reset | 631 bra comm_download_mode0 ; Done. Loop with timeout reset |
| 632 | 632 |
| 633 ;----------------------------------------------------------------------------- | 633 ;----------------------------------------------------------------------------- |
| 634 ; Reply Serial (2 bytes low:high), firmware (major.minor) and custom text. | 634 ; Reply Serial (2 bytes low:high), firmware (major.minor) and custom text. |
| 635 ; | 635 ; |
| 636 | 636 |
