Link to home
Start Free TrialLog in
Avatar of KyleG
KyleG

asked on

Homemade OS (Extreme noob!)

Hey everyone,
I recently came across an article that mentioned something about Unios, an extremely simple OS that just displays Hello! or something of the sort. That's it. Ok, so it's not much of an OS, but it's a start. That's what I'd like to do as well. Just an extremely simple, boring OS that displays some text. I have no idea of how I would go about this, so this is my question:
Where can I find out more about the basics of OS design? Like I said, nothing fancy, just the very beginnings of making a PC boot with my 'OS'.

Thanks alot,
KyleG
Avatar of drcspy
drcspy
Flag of New Zealand image

listening.........
listening.........
Avatar of Flash828
Flash828

Thats not the definition of an OS.  If you would like to have a program thats says hello on boot, all you need is the assembly instructions written into, one example, the boot sector, and have these instructions output "hello".  

An OS by definition must provide services for storage, and memory management.
ASKER CERTIFIED SOLUTION
Avatar of Flash828
Flash828

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Oh and I forgot one of the most important tasks of an OS.... job management.
Not disagreeing with flash828, but
starting with a bootsector that load into memory,
maybe outputs a message is a start.
Once KyleG see how this works aand where he is (in memory)
maybe he can start loading some more stuff using the BIOS,
relocate code, build segment tables and page tables,
get into protected mode, and so on.
If you want to learn how to do something,
it more fun if you can have some trial and error,
and reults as you go along.
Not disagreeing with flash828's resource pointer either,
personally I think Minix by Andrew Tanenbaum is
a good start http://www.cs.vu.nl/~ast/minix.html.
Good Luck
   
Maybe a computer science or computer electrical engineering program at a decent university? :) University of Texas :)?
Avatar of KyleG

ASKER

flash28: ok, so maybe at the moment i dont want to wrtie an OS, just learn what code needs to be put in the bootsector in order to make a pc boot properly and do something, say, print to the screen. I've found a few tutorials, but nothing with EVERYTHING explained, which is what i was hoping for.

thanks
KyleG
Avatar of KyleG

ASKER

as for taking a university course, i'm only 16, so i can't do that for a few years :)
I think OS can be simpler. Just think of what it can do, and decide from that https://www.experts-exchange.com/questions/20546630/Data-Check.html on what you are willing to effort.