This is thinking ahead. Really ahead... but once i get my Kernel ready to rumble on my Testbed PC. can i port things from linux such as:
X Window System
Drivers
NDISWrapper
ALSA Drivers!!!!
SDL
and Java?
Porting Linux Apps to My OS!
- mathematician
- Member
- Posts: 437
- Joined: Fri Dec 15, 2006 5:26 pm
- Location: Church Stretton Uk
I See what you are saying. but how can i make my OS Compatable. should i get some a linux distro source like Debian and get the driver code from that. i was going to get Network Code there too for TCP/IP and PPP link!mathematician wrote: That all depends upon whether you can get hold of the source code, and upon whether the apps make use of any capabilities specific to Linux.
You will only be able to use Linux drivers if your OS is designed from the outset to accept them.
Your OS would somehow need to support(or pretend to support) the different system calls that linux uses.
http://www.osdever.net/tutorials/pdf/device.pdf
In order to use linux driver code, you would need to implement a compatible device interface. A tutorial for making your own interface can be found at:I See what you are saying. but how can i make my OS Compatable. should i get some a linux distro source like Debian and get the driver code from that. i was going to get Network Code there too for TCP/IP and PPP link!
http://www.osdever.net/tutorials/pdf/device.pdf