comparison code_part1/OSTC_code_asm_part1/interface.asm @ 116:14a074e1a375

Split C code, and use direct linking.
author JeanDo
date Sun, 26 Dec 2010 14:30:13 +0100
parents 73014f788032
children 85ea09d3b9d8
comparison
equal deleted inserted replaced
115:50a06adabc67 116:14a074e1a375
39 reset_decodata: 39 reset_decodata:
40 bcf uart_reset_decodata ; clear flag 40 bcf uart_reset_decodata ; clear flag
41 bcf PIE1,RCIE ; No Interrupt for UART 41 bcf PIE1,RCIE ; No Interrupt for UART
42 bsf LED_blue 42 bsf LED_blue
43 43
44 call deco_main_clear_tissue ; Reset Decodata 44 call deco_clear_tissue ; Reset Decodata
45 movlb b'00000001' ; select ram bank 1 45 movlb b'00000001' ; select ram bank 1
46 call deco_main_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 main_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 movlw d'1'
52 movwf nofly_time+0 ; Clear nofly time 52 movwf nofly_time+0 ; Clear nofly time
53 clrf nofly_time+1 ; Clear nofly time 53 clrf nofly_time+1 ; Clear nofly time