From 1d85b2bbb6e8374e8c9bfc9f2dd6a0d6bc3a1f32 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 7 Jun 2012 22:04:08 +0000 Subject: INT Pin now follows UNDERRUN git-svn-id: https://svn.spreadspace.org/mur.sat@518 7de4ea59-55d0-425e-a1af-a3118ea81d4c --- software/idm/idm.asm | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'software') diff --git a/software/idm/idm.asm b/software/idm/idm.asm index 24766d4..6ea532d 100644 --- a/software/idm/idm.asm +++ b/software/idm/idm.asm @@ -140,7 +140,6 @@ wbuf_reset movlw BUF_STARTL movwf FSRWL bcf OVERRUN - movf BSR,w clrf BSR bcf DBG2 @@ -162,9 +161,7 @@ wbuf_next xorwf FSRWL,w btfss STATUS,Z goto wbuf_move_ptr - bsf OVERRUN - movf BSR,w clrf BSR bsf DBG2 @@ -174,9 +171,9 @@ wbuf_next wbuf_move_ptr movf BSR,w clrf BSR + bcf INT bcf DBG1 movwf BSR - bcf UNDERRUN addfsr FSRW,1 @@ -206,12 +203,13 @@ rbuf_reset movlw BUF_STARTL movwf FSRRL bsf UNDERRUN - movf BSR,w clrf BSR + bsf INT bsf DBG1 movwf BSR - + return + ;; ------------------- rbuf_next btfsc OVERRUN @@ -229,9 +227,9 @@ rbuf_next goto rbuf_move_ptr bsf UNDERRUN - movf BSR,w clrf BSR + bsf INT bsf DBG1 movwf BSR return @@ -241,7 +239,6 @@ rbuf_move_ptr clrf BSR bcf DBG2 movwf BSR - bcf OVERRUN addfsr FSRR,1 -- cgit v1.2.3