• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Programming a Operating System

SoundTheSurrender

Diamond Member
Does anyone know where I can get a small operating system that I could compile and learn how it works?

I don't want to mess with something big.

I would be running it in a virtual machine setting.

Thanks
 
This reminds me of an OS class I had to take in college. Nachos anyone?

/shivers

All I can say is good luck and have fun!
 
Originally posted by: screw3d
This reminds me of an OS class I had to take in college. Nachos anyone?

/shivers

All I can say is good luck and have fun!

That's what it reminded me off 🙂 I still have the Java code from that class.

 
The problem is that any OS that's worth running will be big because of the drivers, the core itself it will be fairly small. From what I hear the NetBSD codebase is pretty easy to follow so that might be a good place to start.
 
Originally posted by: screw3d
This reminds me of an OS class I had to take in college. Nachos anyone?

/shivers

All I can say is good luck and have fun!

/me pulls a book off a shelf: Operating Systems, A Modern Perspective, by Gary Nutt.
I know what you mean.

STS: What are you trying to get out of this? If you care about task scheduling, go with someone else's suggestion. If you just want to start with a small OS with a filesystem but without task scheduling, you might try FreeDOS.
 
If you want to see how an OS works on a smaller level, you can look up OS's for embedded systems, such as MicroC/OS 2. These operating systems work on a much smaller level and I believe MicroC is only about 2,000-3,000 lines of code, but it handles the basics pretty well, such as process creation/allocation, scheduling, context switching, ISR, and shared memory.
 
Originally posted by: tfinch2
You can get an older Tanenbaum OS book with Minix for probably around $15-20 bucks.

I second that. Minix was created for that purpose but you might find something like one of the BSDs more motivating since it is a "real" OS.
 
Originally posted by: Reel
Originally posted by: tfinch2
You can get an older Tanenbaum OS book with Minix for probably around $15-20 bucks.

I second that. Minix was created for that purpose but you might find something like one of the BSDs more motivating since it is a "real" OS.

Thirded Minix.
 
You might want to look into TinyOS. It's a real OS that runs on nodes for some wireless sensor networks.
 
Originally posted by: mugs
Originally posted by: 3NF
Originally posted by: Evadman
Originally posted by: tfinch2
unban ^[a-zA-Z0-9]+$

Nice 😀

Appropriate for this forum 🙂

Sucks for those with spaces or special characters in their usernames 🙁

:thumbsup: tfinch2

I was waiting for the day for someone to point that out... 😛

OP, you can also look into Pintos. Stanford (I think?) has all of the documentation and OS course assignments online.
 
Back
Top