A quick look and I see a couple thing missing.
Code:
' Timer Interrupt Handler
' =======================
DISABLE
TICK_COUNT:
    
    Gosub Set_Timer             ' Set the Timer for next 31.25mS Interrupt
    
    toggle sortie1
    toggle sortie2

    Resume
ENABLE