diff src/isr.asm @ 50:ec4d8503ec45

NEW: user-selectable color schemes
author heinrichsweikamp
date Fri, 27 Sep 2013 23:45:57 +0200
parents 53a09c1b7410
children f3062a611eef
line wrap: on
line diff
--- a/src/isr.asm	Fri Sep 27 14:17:21 2013 +0200
+++ b/src/isr.asm	Fri Sep 27 23:45:57 2013 +0200
@@ -36,13 +36,6 @@
         movff   PRODL,isr_prod+0
         movff   PRODH,isr_prod+1
 
-; INT3 for RX control
-		btfsc	INTCON3,INT3IF             ; Timer3 INT
-		rcall	isr_int3
-; Timer0 for RX timing
-		btfsc	INTCON,TMR0IF			; Timer0 INT
-		rcall	timer0int
-
 ; Pressure sensor and others
 		btfsc	PIR5,TMR7IF				; Timer 7
 		rcall	isr_tmr7        		; Every 62,5ms
@@ -71,33 +64,6 @@
 
 ;=============================================================================
 
-timer0int:
-		bcf		T0CON,TMR0ON			; Stop Timer 0
-
-   ;     bcf     LEDr;mH
-
-		movlw   TMR0H_VALUE
-        movwf   TMR0H
-		bcf		INTCON,TMR0IF			; Clear flag
-		clrf	TMR0L
-        bsf     INTCON2,INTEDG3         ; INT3 on rising edge
-		return
-
-isr_int3:
-        bcf     INTCON3,INT3IF          ; Clear flag
-        bsf		T0CON,TMR0ON			; Start Timer 0
-        btg     INTCON2,INTEDG3         ; Toggle INT3 edge
-
-    ;    btg     LEDr;mH
-
-        ; Reset RX Timeout
-		clrf	TMR0L
-		movlw   TMR0H_VALUE
-        movwf   TMR0H
-		bcf		INTCON,TMR0IF			; Clear flag
-        return
-
-
 isr_uart2:               ; IR-Link
         banksel RCREG2
         movf    RCREG2,W