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.
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.
Joined: 16 Jun 2003
Posts: 6773
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.
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