On May 5, 6:06 am, Robert Spykerman <robert.spyker...@[EMAIL PROTECTED]
>
wrote:
....
> Now of course, one could add some extra cheat logic to cope for the
> difference, like I did for the fork syscall. This however means less
> genericity in the syscall words, as each substantially different
> syscall will have to have a word of its own.
> Alternatively have a jumptable in just one word ie XOS which will
> dispatch the syscall to its appropriate patch within just to mantain
> lina compatibility (ie so the forth.lab syscalls don't break).
The way that I saw this done in '86 assembly was with a macro system.
That was spanning Linux and what I took to be BSD descendents ...
Unixware, Solaris, AtheOS, and BeOS, so I have no idea how well it
extends to OSX.


|