Mercurial > public > hwos_code
comparison src/comm.asm @ 356:fcf3ae0fee6a
Changed content for new 0x6F command (Get compact headers)
author | heinrichsweikamp |
---|---|
date | Sun, 02 Aug 2015 09:52:28 +0200 |
parents | 043890f06bce |
children | 57e349960ef4 |
comparison
equal
deleted
inserted
replaced
355:093b32bf6db2 | 356:fcf3ae0fee6a |
---|---|
606 rcall comm_rs232_wait_tx ; Wait for UART | 606 rcall comm_rs232_wait_tx ; Wait for UART |
607 decfsz lo,F | 607 decfsz lo,F |
608 bra comm_send_compact_headers_loop | 608 bra comm_send_compact_headers_loop |
609 call ext_flash_read_block_stop | 609 call ext_flash_read_block_stop |
610 | 610 |
611 ; Offset to total dive counter | |
612 movlw .80 | |
613 movwf ext_flash_address+0 | |
614 call ext_flash_read_block_start ; 1st byte | |
615 movwf TXREG1 | |
616 rcall comm_rs232_wait_tx ; Wait for UART | |
617 call ext_flash_read_block ; 2nd byte | |
618 movwf TXREG1 | |
619 call ext_flash_read_block_stop | |
620 rcall comm_rs232_wait_tx ; Wait for UART | |
621 | |
611 movlw 0xFF ; Spare | 622 movlw 0xFF ; Spare |
612 movwf TXREG1 | 623 movwf TXREG1 |
613 rcall comm_rs232_wait_tx ; Wait for UART | 624 rcall comm_rs232_wait_tx ; Wait for UART |
614 movlw 0xFF ; Spare | |
615 movwf TXREG1 | |
616 rcall comm_rs232_wait_tx ; Wait for UART | |
617 movlw 0xFF ; Spare | |
618 movwf TXREG1 | |
619 rcall comm_rs232_wait_tx ; Wait for UART | |
620 | |
621 bra comm_send_compact_headers2 ; continue | 625 bra comm_send_compact_headers2 ; continue |
622 | 626 |
623 | 627 |
624 ;----------------------------------------------------------------------------- | 628 ;----------------------------------------------------------------------------- |
625 | 629 |