i use the interrupt system following the way you did describe but i fall on another problem wich is a stack overflow .using simulation i saw that each call to interrupt routine don't end correctly, never passing the return statment
this event produce if the last statment of the interrupt subroutine before return is setintflags %10000000,%10000000,(to re_enable interrupt service) executing this statment ,program jump directly to interrupt,calling itself and so the stack explode reaching to the 8° iteration
what i understand is: upon interrupt is enabled, immediately the subroutine loop on itself ,so i try to change timming, no work, nor changing the statments'place
i can't find, no more ideas to try
there is the subject of the mistery
interrupt:
gosub lectmatrice
timer = 65535
SetTimer 65224
SetIntFlags %10000000, %10000000
Return <<<<never pass by this return!!!
i know you know the solution
thanks by advance
jyb the frenchie
this event produce if the last statment of the interrupt subroutine before return is setintflags %10000000,%10000000,(to re_enable interrupt service) executing this statment ,program jump directly to interrupt,calling itself and so the stack explode reaching to the 8° iteration
what i understand is: upon interrupt is enabled, immediately the subroutine loop on itself ,so i try to change timming, no work, nor changing the statments'place
i can't find, no more ideas to try
there is the subject of the mistery
interrupt:
gosub lectmatrice
timer = 65535
SetTimer 65224
SetIntFlags %10000000, %10000000
Return <<<<never pass by this return!!!
i know you know the solution
thanks by advance
jyb the frenchie