On Apr 16, 4:09 pm, Albert van der Horst <alb...@[EMAIL PROTECTED]
>
wrote:
...
> Robert Spykerman <robert.spyker...@[EMAIL PROTECTED]
> wrote:
> >The gas file bombs spectacularly, if I recall it was mainly because of
> >the lack of the intel syntax directive...
> >Wait, if you're talking about your beta 5 version, I've not tried
> >that yet - I admit.
>
> Don't waste your time trying. The .intel syntax is progress.
> Old format is not applicable to 5.
LOL.
Anyways, right now I'm trying to port the SYSTEM word.
The fork syscall appears to work (I get another forth instance on top
of the old one) but the shell does not get called to do say, something
quick like "ls" SYSTEM. I changed the vector to the apple one, maybe
there's a difference. I also had to patch waitpid - it's wait4 on the
apple.
I just can't think of what the problem is. Been going thru' your forth
source in the file, and it looks like it should work with my ported
syscall hooks (apart from waitpid which had to be fixed to a 4
parameter syscall). All the path, args and environmental variables are
all accessable.
Gonna isolate the calls later in a separate test and see.
I thnk the problem is in execve though. Has anyone had any other
experience of a smiliar nature?
Basically I believe this is hopefully the last of the syscalls to fix,
once this is done, it's time to move on to SAVE-SYSTEM.
> Albert van der Horst, UTRECHT,THE NETHERLANDS
Robert Spykerman


|