Page 1 of 1

A Way of making user interactive OS

Posted: Tue Mar 25, 2008 12:25 pm
by wonde
I have been developing a simple kernel, which prints out a simple strange message to the screen .for now what I am planning to do is… I want to work on some shell programming, which, let the user of my OS to do some little stuffs like creating directory and files etc…
I just want the whole Idea of when to begin writing this shell scripting stuff?
Do I need to write some modules that integrate my shell scripts to my kernel.bin?
How can I let my OS users to execute commands if shell is not the way to do these things?
Can I integrate Linux’s bourne shell to my OS? How?

Thanks

Posted: Tue Mar 25, 2008 12:33 pm
by White-spirit
First of all, you have to define I/O calls to move the cursor, getting the content of the keyboard buffer...
Then, you have to use some kind of simple filesystem ( SFS : http://bcos.hopto.org/sfs.html ) .

PS : for bash/ash/csh or whatever, you have to port libc to your OS .