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
A Way of making user interactive OS
-
- Member
- Posts: 89
- Joined: Sun Mar 23, 2008 2:23 pm
- Location: [0x8:0x1000]
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 .
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 .