Re: Interrupt handling Kategorie: Programmierung Assembler (von Torsten - 3.04.2014 20:39) | ||
Als Antwort auf Re: Interrupt handling von PeterS - 3.04.2014 11:39 | ||
| ||
> > > > > > > Would it be possible to replace that routine with another one, e.g. > > > > > by changing the interrupt vector? > > > > > > > > I would warn urgently against that unless you knows the system > > > > very exactly. For polling the interrupt flag you need only few > > > > system clocks. > > > > > > You are right, changing the interrupt vectors can have ugly side effects. > > > But except the timer interrupt that is used for multitasking, servo and clock, > > > experimenting with the other interrupts should not be fatal. > > > > > > Regards, > > > > > > Peter > > > > Hallo Peter, > > > > that would mean, Pepe's proposal is possible? > > Yes. You must know what you are going to do and write the right assembler > code. These modified interrupts are of course then no longer supported > from the interpreter. > > Also it is a clumsy solution, because with every recompile you have to check > where the assembler routines are, and then patch the vectors at the beginning > of the interpreter to the addresses. > > Regards, Peter > Hallo Peter und Pepe, when I understand it right, we only have to change the file "interp128.bin" before we upload it to the module? So we have to change the sixth word in the file for the fourth external interrupt? GruÃ? Torsten | ||
Antwort schreiben Antworten: Re: Interrupt handling (von PeterS - 13.04.2014 10:44) Re: Interrupt handling (von PepeV - 8.04.2014 17:31) Re: Interrupt handling (von Torsten - 8.04.2014 20:37) Re: Interrupt handling (von PepeV - 9.04.2014 20:14) Re: Interrupt handling (von Torsten - 14.04.2014 20:10) |
Zur Übersicht - INFO - Neueste 50 Beiträge - Neuer Beitrag - Suchen - Zum C-Control-I-Forum - Zum C-Control-II-Forum