Talk About Network

Google


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 Mac > Re: Xina output...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 17 Topic 157 of 159
Post > Topic >>

Re: Xina output behaviour.

by Robert Spykerman <robert.spykerman@[EMAIL PROTECTED] > Apr 27, 2008 at 02:00 AM

On Apr 27, 2:47 am, Robert Spykerman <robert.spyker...@[EMAIL PROTECTED]
>
wrote:
....
> If I find out I shall let you know, meanwhile if you find any thing
> else buggy let me know, there's a lot of work yet to be done. I still
> haven't found out why my fork  stuffed up :)
>
> Robert Spykerman

Ok, I think I may have managed to fix the SYSTEM word. I've had to
patch around it a little and create an XOSFORK word to call fork
because I discovered that the OS X fork syscall returns the PID in EAX
and another value in EDX, which is slightly different to the linux
behaviour.

This one in EDX appears to be either 1 or 0 and appears to indicate
the parent and child. Whether this can take other values I am not
quite so sure yet. I'm really going to have to dig in deep into the
kernel source to see why this is so.

Anyhow, trial and error's produced a working SYSTEM word, so as far as
I can tell the current iteration of the mac ****t works almost as good
as lina 4. All that's left is probably to start work on SAVE-SYSTEM.
And hope that no other unexpected surprises rear their head.

The source is still messy and in need of tidying, in fact so does the
CVS, but if you dare, you may try getting xina.asm at: (please send
bug re****ts)

http://xina.cvs.sourceforge.net/xina/xina-generic/

Instructions for building in comments.

Robert Spykerman
 




 17 Posts in Topic:
Xina output behaviour.
morrimichael@[EMAIL PROTE  2008-04-26 02:20:10 
Re: Xina output behaviour.
Robert Spykerman <robe  2008-04-26 09:47:10 
Re: Xina output behaviour.
spam@[EMAIL PROTECTED]   2008-04-26 15:21:53 
Re: Xina output behaviour.
morrimichael@[EMAIL PROTE  2008-04-26 14:53:37 
Re: Xina output behaviour.
Robert Spykerman <robe  2008-04-27 02:00:40 
Re: Xina output behaviour.
Albert van der Horst <  2008-04-27 13:13:41 
Re: Xina output behaviour.
Albert van der Horst <  2008-04-27 10:19:58 
Re: Xina output behaviour.
Robert Spykerman <robe  2008-04-27 08:37:00 
Re: Xina output behaviour.
morrimichael@[EMAIL PROTE  2008-04-27 21:36:04 
Re: Xina output behaviour.
Albert van der Horst <  2008-04-28 19:21:20 
Re: Xina output behaviour.
Robert Spykerman <robe  2008-04-28 04:41:53 
Re: Xina output behaviour.
morrimichael@[EMAIL PROTE  2008-04-30 02:43:46 
Re: Xina output behaviour.
Robert Spykerman <robe  2008-04-30 04:53:51 
Re: Xina output behaviour.
Albert van der Horst <  2008-05-01 13:41:57 
Re: Xina output behaviour.
demarchie@[EMAIL PROTECTE  2008-05-01 13:58:57 
Re: Xina output behaviour.
Robert Spykerman <robe  2008-05-04 02:05:59 
Re: Xina output behaviour.
morrimichael@[EMAIL PROTE  2008-05-05 23:07:42 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Fri Jul 18 22:32:47 CDT 2008.