--- In SynthModules@yahoogroups.com, "grantrichter2001" <grichter@a...> wrote: > You have to use "resume" at the end of ISRs and not "end". > > I'm guessing "resume" clears the interupt flag and passes > variables back through the stack? Dpoe this thing even have a > stack? > I thought of that. The reason I used the end code was that the code following the ISR never seemed to work right. When I went to debug it I found that all the variables that I created during the ISR were always 0. So I started using the debug routine in the ISR. It always prints the variables as 0. Then I started using the end statement to really prove that I was in the ISR. Then I thought that perhaps there was some other mechanism that prevented the proper 'debug' within an ISR. So my final test was to set a variable in the ISR and then perform conditional IF statements followed by END. The program always terminates with a path that indicates the variables are 0. There's got to be something else going on here but I sure don't know what. Dave
Message
Re: MIDI interupts
2004-04-11 by djbrow54
Attachments
- No local attachments were found for this message.