Yes. It is a library function. I do have some asm already in there (especially at the ppc side due to special registers), so I could just add to the asm part something like push, bsr/jsr function and pop, but maybe there was something like __interrupt but then ending with rts (and not rte) and not restoring d0 (didn't know it did that, actually).
Thanks for the suggestions. I guess I have to add a little bit of asm.
EDIT:
There is also something like __amigainterrupt which reads like it will end with rts. Have to see.
EDIT2:
Not sure if __saveall would help here?
Last edited by Hedeon; 07 April 2020 at 21:12.
|