Building an operating system for senior project?


 
Thread Tools Search this Thread
Top Forums Programming Building an operating system for senior project?
# 8  
Old 08-12-2010
sorry guys, this is a project for school. I wish I could give you my plans. I hope after I turned this project in and maybe release as a open source for other people to make better.


Anyone know exactly where I should start? Like what is the next thing after the design that I should do.
# 9  
Old 08-12-2010
How "serious" an OS is this? Is it a theoretical construct, or does it need to fully utilize a modern system?

If you could get away with writing in 16-bit real mode, your work would be miles easier -- you could write a "hello world" without having to worry about disk drivers, keyboard interrupts, timing controllers, or any protected-mode histrionics by relying on BIOS I/O calls. Once you've got your "hello world" working, you can start building the structure from there. I'd almost say you have to start this way, getting a tinkertoy version of your OS running in 640K might happen before you manage to properly switch into real mode. If people really like it, they could reinvent it in protected mode themselves, like how Minux inspired Linux.

Either way though, getting a bootloader to load a kernel is way different than getting an OS to load a program. Some "magic" code is needed, and you need to put the right things in the right places. Play around with the GRUB bootloader, and have a look at the source code for memtest86 -- it's a small program that loads and runs raw from the bootloader too.

Last edited by Corona688; 08-12-2010 at 05:03 PM..
# 10  
Old 08-23-2010
This may be little late but i found something that i think should be your initial step towards building your OS.
Just try to read about LFS(i.e Linux from scratch). This topic covers everything about How linux can be build according to your convenience .If you find this to be in your grasp then building an operating system should not be a big deal for you.
# 11  
Old 08-23-2010
There is an enormous difference between building linux from scratch and writing linux from scratch. Building it, i.e. compiling it, might take a couple days. The other is an ongoing effort, 18 years and counting.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Pick Operating System

Anyone know anything about "Advanced Plus Operating Environment". Preferably release 10 Revision 522Gcd probably dated 2003. (4 Replies)
Discussion started by: jgt
4 Replies

2. UNIX for Advanced & Expert Users

What's my Operating System

Can we know the operating given the IP address or DNS of the host. All I have is file://myserver/myapp (4 Replies)
Discussion started by: mohtashims
4 Replies

3. UNIX for Advanced & Expert Users

Best Operating System

Hello All, I want to install Linux on my machine, so please tell me one thing which is the best to install- 1.)Red Hat 2.)Cent OS 3.)Red Hat 4.)Ubuntu 5.)Fedora except that if there is any please tell me. (1 Reply)
Discussion started by: parthmittal2007
1 Replies

4. Homework & Coursework Questions

Operating system LINUX

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Write a C program that accepts 3 parameters. Each parameter indicates the quantity of product to be produced.... (1 Reply)
Discussion started by: paradise
1 Replies

5. Solaris

building solaris-based enterprise router-firewall project

hi guys, its been a while since my last visit here, could not keep up the pace on this ever changing industry :) i'd just doing my home research under vmware to make a solaris-based router-firewall using zones - doing a lot of reading about zones & review solaris zone functionality. and... (4 Replies)
Discussion started by: stdout
4 Replies

6. UNIX for Dummies Questions & Answers

Building project using MAKE

Hi, I have a build script in perl to build projects in my team.It is using MakeMaker.I have a problem now.When I build a project and a tarball is created,I untar the tarball to get the files.Now the files have "rwx-r_x-r_x" permssions. While I want "rwx-rwx-rwx" for all files. i am not too sure... (0 Replies)
Discussion started by: abhinavsinha
0 Replies

7. Filesystems, Disks and Memory

Fabric Operating System

Would any of your gentlemen have come across a decent reference for the FOS in your wanderings? Brocade just seems to want to sell me classes and FAN books :/ (0 Replies)
Discussion started by: Eronysis
0 Replies

8. UNIX for Dummies Questions & Answers

Operating System

Which is much more powerful as an operating system: 1. Windows 2000 2. Windows 98 3. Windows XP 4. Windows ME 5. Unix 6. Linux and why is it much more powerful than the other operating systems that i have mentioned. thanks for your info... (1 Reply)
Discussion started by: alecks1975
1 Replies

9. UNIX for Dummies Questions & Answers

Unix Operating System

I need the Unix operating system on disc as im new to unix. Im studying unix and x windows next year at Sheffield University and would like to get a head start. Any suggestions would be appreciated (2 Replies)
Discussion started by: jeffersno1
2 Replies
Login or Register to Ask a Question