Hi,
Tony Wyatt wrote:
The 68k code depends on a2, a3, a6 always pointing to particular structures. That makes it quick to call a function, because those registers do not have to be set up before the call.
See my other mail.
So the question is really: is there a platform-independent way to allocate some registers as permanent pointers, persistent over the whole program? Has this problem come up elsewhere in OS4? What have other developers done?
Since registers are always tied to the platform: No. C doesn't even know about registers.
Regards,