flat assembler
Message board for the users of flat assembler.

flat assembler > Unix > What about a BeOS port?

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
SamuelGaliza



Joined: 13 May 2004
Posts: 11
This file is take from OpenBeOS project with NewOS kernel but I don´t know if this document is compatible with BeOS 5 PE.

http://cvs.sourceforge.net/viewcvs.py/open-beos/current/headers/private/kernel/ksyscalls.h
Post 15 Jun 2004, 12:11
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3475
Location: Bulgaria
Privalov wrote:
JohnFound wrote:
IMHO, pure assembly port will be better than one using clib. Smile

I agree. But libc port gives you a working fasm on such systems, and this should make developing any pure assembly port easier.


Of course. Smile It is like two stage rockets... Very Happy

Regards
Post 15 Jun 2004, 13:08
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Ralph



Joined: 04 Oct 2003
Posts: 86
Quote:
Does BeOS have a syscall for mprotect? This is one of the few syscalls my programs rely on heavily and I haven't found any decent documentation on the BeOS syscalls yet.


I have never come across it. I got all my info by writting short C code and tracing the appropriate calls (malloc, write, read, etc) until I hit an interrupt and then inspected the stack. You might just want to try the same to get a definate answer. I just destroyed my BeOS partition because I'm waiting for a new release. When I get that I can get back to my syscall based port if noone else has done it by then.
Post 15 Jun 2004, 19:14
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3172
Location: Denmark
Isn't there source for BeOS kernel, or at least the libc? Would probably be a lot faster to look through that, than tracing or disassembling examples?
Post 15 Jun 2004, 20:02
View user's profile Send private message Visit poster's website Reply with quote
Ralph



Joined: 04 Oct 2003
Posts: 86
It's not open source if that's what you mean. There is OpenBeOS, but I don't know how compatible that with actual BeOS/Zeta. It's not that hard to trace through though. The kernel contains symbols and bdb is quite a decent debugger. It also drops assembly files for every function you trace, so you have a nice reference later.
Post 15 Jun 2004, 20:39
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6968
Location: Kraków, Poland
Are we going to need BeOS subforum soon? Very Happy
Post 15 Jun 2004, 20:43
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3475
Location: Bulgaria
Privalov wrote:
Are we going to need BeOS subforum soon? Very Happy


Yes, it is the 5-th (or maybe 6-th) OS where FlatAssembler rules. Wink

Dos, Win32, Linux, MenuetOS, FreeBSD, BeOS...

IMHO, the next port should be SolOS. Very Happy

Regards.
Post 15 Jun 2004, 21:16
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
SamuelGaliza



Joined: 13 May 2004
Posts: 11
Privalov. Can you publish Fasm on http://www.BeBits.com ?
It´s major software resources site for BeOS.
Post 16 Jun 2004, 07:54
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6968
Location: Kraków, Poland
Would anyone here be interested in maintaining the BeOS port of fasm (and also moderating the BeOS subforum if it's created one day)? I'm not familiar with this system yet.
Post 16 Jun 2004, 14:53
View user's profile Send private message Visit poster's website Reply with quote
SamuelGaliza



Joined: 13 May 2004
Posts: 11
Yes, I am but I don't use internet at home, then I hope forum could be bad moderated by me.
Post 16 Jun 2004, 15:43
View user's profile Send private message Reply with quote
crc



Joined: 21 Jun 2003
Posts: 637
Location: Penndel, PA [USA]
I'm willing to maintain the BeOS port and mod the BeOS subforum as well.
Post 16 Jun 2004, 17:12
View user's profile Send private message Visit poster's website Reply with quote
SamuelGaliza



Joined: 13 May 2004
Posts: 11
OK! It's wonderfull then CRC &
thanks to Privalov developing fasm for libc port Smile
Post 16 Jun 2004, 18:02
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< 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 cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2018, Tomasz Grysztar.

Powered by rwasa.