diff options
author | Christian Pointner <equinox@mur.at> | 2012-06-07 22:04:08 +0000 |
---|---|---|
committer | Christian Pointner <equinox@mur.at> | 2012-06-07 22:04:08 +0000 |
commit | 1d85b2bbb6e8374e8c9bfc9f2dd6a0d6bc3a1f32 (patch) | |
tree | aab23a7306e30986e9626fd57ff1b068ccd92cdf /software | |
parent | small performance increase (diff) |
INT Pin now follows UNDERRUN
git-svn-id: https://svn.spreadspace.org/mur.sat@518 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software')
-rw-r--r-- | software/idm/idm.asm | 13 |
1 files changed, 5 insertions, 8 deletions
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 |