Kommentar: Einfügen von HTML im Kommentar: Link einfügen: <a href="LINKURL" target="_blank">LINKTITEL</a> Bild einfügen: <img src="BILDURL"> Text formatieren: <b>fetter Text</b> <i>kursiver Text</i> <u>unterstrichener Text</u> Kombinationen sind auch möglich z.B.: <b><i>fetter & kursiver Text</i></b> C Quellcode formatieren: <code>Quellcode</code> BASIC Quellcode formatieren: <basic>Quellcode</basic> (Innerhalb eines Quellcodeabschnitts ist kein html möglich.) Wichtig: Bitte mache Zeilenumbrüche, bevor Du am rechten Rand des Eingabefeldes ankommst ! -> I > > > > 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 > > Hi Torsten, hi Peter (glad you are back!) > > The method Peter sketches does seem rather clumsy. > Is there really no way to determine the location of an assembler routine > during runtime? > > My (wild) idea is to mark the beginning of a routine with a characteristic > sequence of (redundant) instructions, e.g. sei sei sei. Then one could > use another routine to search for this sequence (using lpm or elpm?). > Would this be possible? > > But I don't see how one could then change the interrupt vectors. Do you? > > Any other ideas? > > Regards, > Pepe