I am making use of heavily nested interrupt priorities but I am following the recommended silicon bug workaround in the errata sheet.
Example:
Code: Select all
{$IFDEF FIX_NESTED_INTERRUPT_SILICON_BUG} asm DISI #4; end; {$ENDIF} // Silicon Bug in the 4013, if Interrupt is disabled, then Interrupt 2 of higher priority is called (nested) an Address Trap can be thrown
T4IE_bit := 0; // Disable the interrupt
T4IF_bit := 0; // Reset the Interrupt flag
It is a fairly complicated program, using currently 75% of the 32k.
Thanks for any help.
Jim