its also worth noting that if you only have 1 interrupt and that it is a asm type then
DEFINE INTHAND
is quicker and leaner than dt-ints ,and just as easy to accomplish especially if chip has auto context save
its also worth noting that if you only have 1 interrupt and that it is a asm type then
DEFINE INTHAND
is quicker and leaner than dt-ints ,and just as easy to accomplish especially if chip has auto context save
Warning I'm not a teacher
Thanks guy for your comments.
Richard, so for those of us who don't know about DEFINE INTHAND, Please give a bref explanation. I see that DEFINE INTHAND followed by INT_ENTRY is at the beginning of DT_INT-14.bas. It is not mentioned again in the code. INT_ENTRY saves everything and more. So I ask, how do you set up for a single ASM interrupt with INTHAND?
if you look at this thread you can see how I used the same isr with and without dt_ints
http://www.picbasic.co.uk/forum/showthread.php?t=23874
INT_ENTRY is the name of dt_ints "master" isr your isr{'s} are then called from thatI see that DEFINE INTHAND followed by INT_ENTRY is at the beginning of DT_INT-14.bas
So I ask, how do you set up for a single ASM interrupt with INTHAND?
there is an entire section of the pbp manual dedicated to this subject , its clearly written , concise and
covers the subject thoroughly . I would have nothing to add that is not covered therein handsomely
Warning I'm not a teacher
Bookmarks