FAT12 driver and a command line.
Posted: Mon Nov 10, 2008 5:31 pm
Before I begin, I'd like to say: This post screams "Lino Commando" (for those of you who don't know exactly what I mean, http://wiki.osdev/org/Lino_Commando should answer your question)...
So, the n00b is back, and he needs to know where to start on reading a FAT12 floppy disk before anything else.. The OS is built into the FAT floppy disk I want to read. I already have successfully added support to detect the type of floppy disk drive installed (or at least if there even is a floppy drive)... I also have some basic keyboard support. Much like that Lino Commando article I linked to above, my goal is to have that God-forsaken command line working and then from there gain basic FAT12 file system support. I'm stuck when it comes to reading articles on the wiki, and in my previous iteration of my OS's kernel, I received a nice General Protection Fault each time I'd type a character at the supposed "command line" that I attempted. Since trial and error doesn't work for me (and rarely does), I decided to come running here, because there seems to be nowhere else.
It would really be helpful to me if someone could point me to some tutorial(s) or article(s) about doing things like this, or if you have time, some example code...
The command line is my top priority. Reading the FAT12 file system on the floppy disk the kernel has booted from is my second priority... so providing articles, tutorials, examples, etc. for this would also be nice.
And before you reply, please take into account that reading technical specifications of file systems and articles written to that kind of tone really don't help me, because I honestly don't have enough attention span to read those kinds of writings. I'm not (and never will be) an "RTFM" Nazi like some people in the programming world are.
So, the n00b is back, and he needs to know where to start on reading a FAT12 floppy disk before anything else.. The OS is built into the FAT floppy disk I want to read. I already have successfully added support to detect the type of floppy disk drive installed (or at least if there even is a floppy drive)... I also have some basic keyboard support. Much like that Lino Commando article I linked to above, my goal is to have that God-forsaken command line working and then from there gain basic FAT12 file system support. I'm stuck when it comes to reading articles on the wiki, and in my previous iteration of my OS's kernel, I received a nice General Protection Fault each time I'd type a character at the supposed "command line" that I attempted. Since trial and error doesn't work for me (and rarely does), I decided to come running here, because there seems to be nowhere else.
It would really be helpful to me if someone could point me to some tutorial(s) or article(s) about doing things like this, or if you have time, some example code...
The command line is my top priority. Reading the FAT12 file system on the floppy disk the kernel has booted from is my second priority... so providing articles, tutorials, examples, etc. for this would also be nice.
And before you reply, please take into account that reading technical specifications of file systems and articles written to that kind of tone really don't help me, because I honestly don't have enough attention span to read those kinds of writings. I'm not (and never will be) an "RTFM" Nazi like some people in the programming world are.