flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > FreeBSD? Linux? Would you like compatability in Menuet?


Which flavor of Unix would you like to see running on Menuet?
FreeBSD
18%
 18%  [ 2 ]
Linux
27%
 27%  [ 3 ]
Other
18%
 18%  [ 2 ]
None
36%
 36%  [ 4 ]
Total Votes : 11

Author
Thread Post new topic Reply to topic
compilax



Joined: 18 Feb 2004
Posts: 56
compilax
Yesterday I thought "why arent there any Unices written in ASM?" - then I set off to put an int 0x80 into MenuetOS. MeOS apps could act as terminals and drivers - perhaps an X server could even live inside a MeOS window
I wrote a simple handler that told the user it was called via the message board, then made a reference to it in sys_int and wrote a little app that did int 0x80 a few times. It compiled but the only relevant debug board output told me "K : Process - forced terminate...".
Is there anything obvious I forgot to do, or is it more likely a screwup in my code?

PS: my int 80 stuff will pro'ly act like the FreeBSD syscalls. If I get anywhere I might switch to Linux or some other system compatibility depending on the results of the poll.


Last edited by compilax on 05 Aug 2004, 09:42; edited 1 time in total
Post 31 Jul 2004, 00:31
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
fasm9



Joined: 19 Jun 2003
Posts: 439
fasm9
Hi,

I chose 'other', because i wish MenuetOS as Linux's de facto standard GUI.

x11/x* is user mode device driver.

Edit: BTW, if you still want something unixy, then see here.
http://minnie.tuhs.org/UnixTree/
http://www.cs.bell-labs.com/who/dmr/
(debian:~# sr google bell dmr)

--
PS: reason is simple,
c/asm > 1 (natural)

asm/c < 1 (unnaturalness)
Post 31 Jul 2004, 00:50
View user's profile Send private message Reply with quote
compilax



Joined: 18 Feb 2004
Posts: 56
compilax
For the time-being I have given up on the int 80 thing. Instead I'm making a Unix-ish API that is all filesystem based and lives in int 40. If the poll gets lotsa votes I might have a go though.

PS: My API will implement a VFS layer and slight microkernel-ness into MenuetOS. All i/o will be via the VFS layer. Apps can be killed by cd-ing to /modules and removing the app (eg: "rm systree.03" for the 4th instance of systree). I'm not sure if it is something that will be of any use added into the main distro, but hopefully it will be of some use to someone.
Post 01 Aug 2004, 05:14
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
compilax



Joined: 18 Feb 2004
Posts: 56
compilax
That old Unix link is gold! I'm gonna show off some of that 1972 Unix code to my CS teacher Smile
Post 01 Aug 2004, 05:59
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.