Floppy Operating System

This is a discussion on Floppy Operating System within the Projects and Job Recruitment forums, part of the Community Boards category; Hello,
Me and my friend are very interested in making an operating sytem on a floppy disk. We are looking ...

Floppy Operating System

Hello,

Me and my friend are very interested in making an operating sytem on a floppy disk. We are looking for someone experianced to help us since we really don't know what to do. I was able to modify an example OS download, but well, that doesn't really count.

I'm decent with C/C++. My friend's a beginner, but he said he'll help out however he can, even if it's not with programming.

This will be a project for fun/learning only - no profit. If the OS is good enough we'll release it under the GPL.

Here are my ideas right now....

It boots to a command line and you have several utilites. An editor, some text games, ect. The file system will be FAT so it's compatable with other OSs (you know, so you could take the files you write in our OS off the disk and use them on a "real" OS).

So, if anyone's interested let me know. Like I said I don't have much experiance or knowlage in this area, but I am deticated. I'll do my best to learn... Post if you want to help out. We'll set up a channel on my IRC server to discuss it.

heres an advice:
Make something original.
I really have been sick of seeing maybe a millions different linux distros...
Thats why i like MOS.
Originality is good.Think of something nice and shall it be happen!

A small kernel on a floppy with a bootloader is very possible using C (for the kernel, not the bootloader). If you are doing this from scratch you wont have access to a popular C library, you will have to rewrite a lot of this yourself. And a lot of inline ASM for your target hardware will be nessecary to save space and make it more efficient. There are hundreds of projects like this started that will show you how to boot a small 20 line kernel that prints hello world to the screen. Beyond that theres a lot to do. Check out Andrew Tanenbaums book "modern operating systems" to get an idea. Or try this link http://www.acm.uiuc.edu/sigops/roll_your_own/
for a beginners page on it

A small kernel on a floppy with a bootloader is very possible using C.

You cannot write a bootstrap in C. It must be in pure assembly. From there it will load the kernel which can be in C. But in C, loading the GDT, IDT, LDT, and other operations that need to be done are not supported directly in inline assembler. Of course you can emit the opcodes yourself, but it is just as east to use pure assembly for this.

If you want help go to www.flashdaddee.com (spam session sorry) and they have some good links to OS dev sites on their OS dev board.

If you need more assistance I would be glad to help where I can but I'm currently assisting with other projects so I cannot commit to yours.

You will definitely want the IA-32 architecture books from www.intel.com. They are an excellent source of information.

Isn't floppy disk operating systems a little too much 20th century?
Are you seriously still using floppy disks? Make your OS an a CD or USB memory stick. I'll buy a new computer soon and I wouldn't imagine getting a floppy drive for it.