Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Forth > Re: Sections in...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 7 Topic 3994 of 4053
Post > Topic >>

Re: Sections in assembler forth's on un*x

by Robert Spykerman <robert.spykerman@[EMAIL PROTECTED] > Apr 16, 2008 at 01:08 AM

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




 7 Posts in Topic:
Sections in assembler forth's on un*x
Albert van der Horst <  2008-04-13 04:21:15 
Re: Sections in assembler forth's on un*x
Robert Spykerman <robe  2008-04-13 02:12:05 
Re: Sections in assembler forth's on un*x
Albert van der Horst <  2008-04-13 11:49:03 
Re: Sections in assembler forth's on un*x
Robert Spykerman <robe  2008-04-13 17:57:07 
Re: Sections in assembler forth's on un*x
Albert van der Horst <  2008-04-16 06:09:26 
Re: Sections in assembler forth's on un*x
Robert Spykerman <robe  2008-04-16 01:08:00 
Re: Sections in assembler forth's on un*x
Robert Spykerman <robe  2008-04-25 01:40:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 0:59:08 CDT 2008.