comparison code_part1/OSTC_code_asm_part1/interface.asm @ 229:85ea09d3b9d8

Nofly should not be reset after dive simulation (bug BB18).
author JeanDo
date Tue, 15 Mar 2011 18:13:51 +0100
parents 14a074e1a375
children 7250ca7c8d24
comparison
equal deleted inserted replaced
228:6d4e29d80ff3 229:85ea09d3b9d8
46 call deco_calc_desaturation_time ; calculate desaturation time 46 call deco_calc_desaturation_time ; calculate desaturation time
47 movlb b'00000001' ; select ram bank 1 47 movlb b'00000001' ; select ram bank 1
48 call deco_clear_CNS_fraction ; clear CNS 48 call deco_clear_CNS_fraction ; clear CNS
49 movlb b'00000001' ; select ram bank 1 49 movlb b'00000001' ; select ram bank 1
50 50
51 movlw d'1' 51 clrf nofly_time+0 ; Clear nofly time
52 movwf nofly_time+0 ; Clear nofly time
53 clrf nofly_time+1 ; Clear nofly time 52 clrf nofly_time+1 ; Clear nofly time
54 53
55 movlw 'h' ; send echo 54 movlw 'h' ; send echo
56 movwf TXREG ; When done 55 movwf TXREG ; When done
57 call rs232_wait_tx ; wait for UART 56 call rs232_wait_tx ; wait for UART