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

  1. #1
    eam
    eam is offline
    Registered User eam's Avatar
    Join Date
    Oct 2003
    Posts
    53

    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.

    eam

  2. #2
    Registered User
    Join Date
    Aug 2004
    Posts
    4
    I dont belive you will make it.C-C++ file tend to be bigger in size.
    I havent seen any C-C++ operating system to fit into a floppy.
    I know MOS(MenuetOS) its made in FASM and it fit into a lfoppy.

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,529
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #4
    eam
    eam is offline
    Registered User eam's Avatar
    Join Date
    Oct 2003
    Posts
    53
    I know MOS(MenuetOS) its made in FASM and it fit into a lfoppy.
    But look what MenuetOS does.... http://www.menuetos.org/displays%5C070c.png. That's awesome, but I'm not talking about anything near that. Just a simple command line with a couple of utilities.

    I have seen some examples in C, like the one I was playing with. Of course, not everything could be written in C though, some parts have to be assembly.

    eam

  5. #5
    Registered User
    Join Date
    Aug 2004
    Posts
    4
    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!

  6. #6
    Registered User
    Join Date
    Aug 2004
    Posts
    6
    I think it will not work. But anyways, goodluck to you both. And I am willing to help if ever you have another project, without restrictions in file size.

    Or my suggestion is, to study compression/decompression of files so that you can fit it in a floppy. Then your OS will load in the memory or swap file sort of when it is loaded.

    Goodluck guys!

  7. #7
    Registered User
    Join Date
    Aug 2004
    Posts
    1
    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

    - ChrisR-

    *edited because i worded some things wrong
    Last edited by ChrisR-; 08-14-2004 at 05:39 PM.

  8. #8
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    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.
    Last edited by VirtualAce; 08-14-2004 at 04:57 AM.

  9. #9
    Registered User
    Join Date
    Oct 2004
    Posts
    1
    If it helps, there are ways to fit more than 1,4 Mb on a floppy.

    Here is the URL:
    http://annoyances.org/exec/show/article01-011

    Additionally, my friend has once told me that there is a way to fit even 2 Mb, but I never needed it, so you'd have to search on your own.

  10. #10
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    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.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  11. #11
    Lead Moderator kermi3's Avatar
    Join Date
    Aug 1998
    Posts
    2,595
    Please do not bump threads, and please read the forum rules about what is appropriate to post on this board.

    Closed.
    Kermi3

    If you're new to the boards, welcome and reading this will help you get started.
    Information on code tags may be found here

    - Sandlot is the highest form of sport.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Operating System Project
    By Pete in forum Projects and Job Recruitment
    Replies: 1
    Last Post: 07-15-2004, 09:33 AM
  2. What is a Microsoft Operating System Like?
    By Troll_King in forum A Brief History of Cprogramming.com
    Replies: 35
    Last Post: 10-21-2002, 07:36 AM
  3. Operating system
    By sopranosomega in forum C Programming
    Replies: 6
    Last Post: 10-07-2002, 06:12 AM
  4. What operating system are YOU useing?
    By RoD in forum A Brief History of Cprogramming.com
    Replies: 36
    Last Post: 09-14-2002, 10:02 AM
  5. Microsoft = The Best Operating System
    By Troll_King in forum A Brief History of Cprogramming.com
    Replies: 92
    Last Post: 02-08-2002, 12:32 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21