flat assembler
Message board for the users of flat assembler.

Index > 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
SamuelGaliza 15 Jun 2004, 12: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: 3499
Location: Bulgaria
JohnFound 15 Jun 2004, 13:08
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
Ralph 15 Jun 2004, 19:14
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: 3175
Location: Denmark
f0dder 15 Jun 2004, 20:02
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
Ralph 15 Jun 2004, 20:39
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



Joined: 16 Jun 2003
Posts: 8351
Location: Kraków, Poland
Tomasz Grysztar 15 Jun 2004, 20:43
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: 3499
Location: Bulgaria
JohnFound 15 Jun 2004, 21:16
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
SamuelGaliza 16 Jun 2004, 07:54
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



Joined: 16 Jun 2003
Posts: 8351
Location: Kraków, Poland
Tomasz Grysztar 16 Jun 2004, 14:53
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
SamuelGaliza 16 Jun 2004, 15:43
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]
crc 16 Jun 2004, 17:12
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
SamuelGaliza 16 Jun 2004, 18:02
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.