Programming a CLI
Posted: Tue Aug 12, 2008 4:29 am
Hello,
Having followed several tutorials I found, and eventually recoding from the start, I've managed to program a basic kernel based on James Molloy's tutorials, with keyboard input. However, I can't work out how the best way to make a CLI is. I have several ideas, but I can't choose which would work best and how to properly implement it without a standard library that I'm used to. Has anyone got any ideas?
Also, I adjusted some of the monitor-related functions which were heavily based on James's tutorials to print "shell>" every time return(the key) is pressed if a variable called climode=1. For some reason, when it starts scrolling off the screen, the first letter, "s" in the "shell>" isn't show and instead there is a blank space. Anyone know what's up with that?
Having followed several tutorials I found, and eventually recoding from the start, I've managed to program a basic kernel based on James Molloy's tutorials, with keyboard input. However, I can't work out how the best way to make a CLI is. I have several ideas, but I can't choose which would work best and how to properly implement it without a standard library that I'm used to. Has anyone got any ideas?
Also, I adjusted some of the monitor-related functions which were heavily based on James's tutorials to print "shell>" every time return(the key) is pressed if a variable called climode=1. For some reason, when it starts scrolling off the screen, the first letter, "s" in the "shell>" isn't show and instead there is a blank space. Anyone know what's up with that?