there are several os developement libraries such as
OSKit ,OSLib ,...
anybody recommend to use them , or not recommend ?
thanks
os developement libraries
Re:os developement libraries
It's been some time I evaluated them, and I no longer have my notes handy...
As always, it depends on what you intend to achieve. I remember that one of the two kits you mentioned implements its parts as COM components - an interface that I'd like to avoid.
Any framework inherently provides its own direction. While I might actually end up at the same destination, I would rather arrive there because of my own design decisions, instead of the decisions of the framework makers: Language used, coding style, naming conventions, module boundaries etc. etc.
And while I am all for using existing bootloaders instead of rolling your own, I think that getting too much ready-made code handed on a silver platter keeps you from learning what all that stuff is about.
These frameworks are undoubtedly a nice help if your aim is to set up a not-too-revolutionary operating system in as little time as possible. The more you aim for something really new, or for learning all the details involved, the less I would advise the use of OsKit / OsLib.
As always, it depends on what you intend to achieve. I remember that one of the two kits you mentioned implements its parts as COM components - an interface that I'd like to avoid.
Any framework inherently provides its own direction. While I might actually end up at the same destination, I would rather arrive there because of my own design decisions, instead of the decisions of the framework makers: Language used, coding style, naming conventions, module boundaries etc. etc.
And while I am all for using existing bootloaders instead of rolling your own, I think that getting too much ready-made code handed on a silver platter keeps you from learning what all that stuff is about.
These frameworks are undoubtedly a nice help if your aim is to set up a not-too-revolutionary operating system in as little time as possible. The more you aim for something really new, or for learning all the details involved, the less I would advise the use of OsKit / OsLib.
Every good solution is obvious once you've found it.
Re:os developement libraries
One of the first thing's i wanted, when making my os,was to make the code moduler. So people could use bit's of it for there own os,like a os library.
This in fasm is easy, you just split the code into include files.
But then the came problems, All includes had to be completly independant, which sounds easy, but it is not for instance, say i use a hex converter, i can use the one that i have in another inc file, but they may not include that one in there OS, so they would have to hack into there own,this will create bugs that are hard to trace,and in the end it would be easyer for them to have written the hole code in the first place.
Second problem, my OS has no memory protection, most things are done with a call rather than with a interupt.
This would cause problems in most peoples OS's .
So its not so much should you use them or not , but they probly would not work or be more work than making them from scratch.
Also the libraries that are available are for things that are very well documented, the libraries that we really want are not available eg: USB .
After all that the answer is the same as solar dont bother .
ASHLEY4.
This in fasm is easy, you just split the code into include files.
But then the came problems, All includes had to be completly independant, which sounds easy, but it is not for instance, say i use a hex converter, i can use the one that i have in another inc file, but they may not include that one in there OS, so they would have to hack into there own,this will create bugs that are hard to trace,and in the end it would be easyer for them to have written the hole code in the first place.
Second problem, my OS has no memory protection, most things are done with a call rather than with a interupt.
This would cause problems in most peoples OS's .
So its not so much should you use them or not , but they probly would not work or be more work than making them from scratch.
Also the libraries that are available are for things that are very well documented, the libraries that we really want are not available eg: USB .
After all that the answer is the same as solar dont bother .
ASHLEY4.