chiark / gitweb /
some use of xdebug to help spurious interrupt chasing
authorian <ian>
Thu, 29 Dec 2005 03:42:40 +0000 (03:42 +0000)
committerian <ian>
Thu, 29 Dec 2005 03:42:40 +0000 (03:42 +0000)
detpic/program.asm

index 1edd9d596718fb27f34c7a9197e0dbd037b08e56..c83bc2a12b7b46e52e2dcc104bbe6b111aff17aa 100644 (file)
@@ -88,6 +88,12 @@ master_init
 ;----------------------------------------
 master_interrupt_low
        enter_interrupt_low
+ mov_ff INTCON, xdebug+0
+ mov_ff INTCON2, xdebug+1
+ mov_ff INTCON3, xdebug+2
+ mov_ff PIR1, xdebug+3
+ mov_ff PIR2, xdebug+4
+ mov_ff PIR3, xdebug+5
        call    tick_intrl
        call    nmra_serialrx_intrl
        call    power_fault_intrl