A Way of making user interactive OS

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
wonde
Posts: 6
Joined: Wed Mar 12, 2008 11:39 am

A Way of making user interactive OS

Post 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
White-spirit
Member
Member
Posts: 89
Joined: Sun Mar 23, 2008 2:23 pm
Location: [0x8:0x1000]

Post 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 .
Post Reply