BeOS Drivers

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

BeOS Drivers

Post by Jeko »

I was writing modules and drivers handling code when I thought that maybe I can use also BeOS drivers. In fact these drivers are in the ELF format.
But BeOS is an old operating system, so I can take only few drivers from it...
There is OpenBeOS (now Haiku), but I don't know if the format of drivers in Haiku is the same of the format in BeOS.

Do you know if the format is the same? Because if the format is the same I have already drivers for many important devices, without any programming!
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: BeOS Drivers

Post by Combuster »

The problem with grabbing drivers from anywhere (be it BeOS, linux, or even windows) is that they expect a certain interface in the host OS to be present. In order to make those drivers work, you'll have to pretend to the drivers that your OS is their OS.

Do you already have that interface, or do you plan on spending lots of time building one in the hopes that it will eventually work?
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

Re: BeOS Drivers

Post by Jeko »

Combuster wrote:The problem with grabbing drivers from anywhere (be it BeOS, linux, or even windows) is that they expect a certain interface in the host OS to be present. In order to make those drivers work, you'll have to pretend to the drivers that your OS is their OS.

Do you already have that interface, or do you plan on spending lots of time building one in the hopes that it will eventually work?
I translate the interface of BeOS to use my functions...I've seen this from another OS.

http://newos.org/WebSVN/filedetails.php ... 2Fbeos_p.h
http://newos.org/WebSVN/filedetails.php ... v%2Fbeos.c

News:
I think that these files are made well because the developer of NewOS is Travis Geiselbrecht, a BeOS developer.

And maybe drivers in Haiku are made the same as BeOS, because Haiku is a fork of NewOS, and Haiku wants to keep binary compatibility with BeOS. But I'm not sure that the format is the same...
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Re: BeOS Drivers

Post by JamesM »

I didn't realise that geist was a BeOS developer. I'll have to ask him about it.
User avatar
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

Re: BeOS Drivers

Post by Jeko »

JamesM wrote:I didn't realise that geist was a BeOS developer. I'll have to ask him about it.
I've read it from wikipedia [ http://en.wikipedia.org/wiki/Haiku_(operating_system) ]:
Haiku’s kernel is a fork of NewOS, a modular kernel written by former Be Inc. engineer Travis Geiselbrecht
User avatar
lukem95
Member
Member
Posts: 536
Joined: Fri Aug 03, 2007 6:03 am
Location: Cambridge, UK

Re: BeOS Drivers

Post by lukem95 »

this is just James dropping names ;)

its pretty cool that you know him though, is that through work or hobby?
~ Lukem95 [ Cake ]
Release: 0.08b
Image
xyzzy
Member
Member
Posts: 391
Joined: Wed Jul 25, 2007 8:45 am
Libera.chat IRC: aejsmith
Location: London, UK
Contact:

Re: BeOS Drivers

Post by xyzzy »

No, geist simply is on #osdev on Freenode.
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Re: BeOS Drivers

Post by JamesM »

AlexExtreme wrote:No, geist simply is on #osdev on Freenode.
Correct. I had no idea he was 'famous' enough to be on wikipedia though!
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Re: BeOS Drivers

Post by jal »

JamesM wrote:Correct. I had no idea he was 'famous' enough to be on wikipedia though!
Appearently not, as the current revision of the page doesn't mention him :).


JAL
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Re: BeOS Drivers

Post by JamesM »

jal wrote:
JamesM wrote:Correct. I had no idea he was 'famous' enough to be on wikipedia though!
Appearently not, as the current revision of the page doesn't mention him :).


JAL

Yes it does!
Haiku’s kernel is a fork of NewOS, a modular kernel written by former Be Inc. engineer Travis Geiselbrecht
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Re: BeOS Drivers

Post by jal »

JamesM wrote:Yes it does!
Ok, now I feel stupid. The "match case" was checked when I searched for 'geis'. *goes to hide under a rock*


JAL
Post Reply