View Single Post
Old 07 April 2020, 20:03   #11
Hedeon
PPC Hacker

 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 1,246
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 20:12.
Hedeon is offline  
 
Page generated in 0.06150 seconds with 11 queries