Hola Ken!
RV>> antig=getvect(9); // I save the old handler vector
RV>> setvect(9,(*antig)(...)); // I restore the old handler
RV>> //(*antig)(...); ********This is the problem*********
KW> Possibly ?
KW> setvect(9,antig); // I restore the old handler
Thank you for answering, but I think that is not the problem because it
occurs when the new handler is on (anyway I have to check if I restore the
handler correctly).
I think the problem is on how C++ returns from a function when it uses
the reserved word 'interrupt', Does it use RTI? Does it restore the interrupt
mask?
How can I make it manually?
Un saludo
Rafa
--- FMail 1.02
---------------
* Origin: Yo mismo y mi mecanismo. 93:341/736.96 (2:341/136.96)
|