> Following the disassembled crt0.o, I should save/restore d4-d7 in
> PilotMain().
you disassembled it? :) sources are available remember
> In order to make these registers available to the application, it would
> perhaps be a good idea to compile the startup code with -ffixed-d4 etc in
> the distribution?
> On the other hand, as you pointed out, there can still be several other
> (library) routines which don't know anything of my 'dirty tricks'.
a nice "palmos" thing would be to store these values in a feature..
instead of the registers.. :) might be worth looking into.
> I know that I'm doing something exotic and unsafe with my app, but
> reservation of 3 or 4 data regs just for the startup routine would be
> somewhat wasteful for a 'small device'.
heh
// az
[EMAIL PROTECTED]
http://www.ardiri.com/ <--- free games!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/