Custom OS

How would one go about making their own operating system?

Other urls found in this thread:

cs.bham.ac.uk/~exr/lectures/opsys/10_11/lectures/os-dev.pdf
littleosbook.github.io/
greenteapress.com/thinkos/
os.phil-opp.com/
cs.vu.nl//~herbertb/misc/writingkernels.txt
samypesse.gitbooks.io/how-to-create-an-operating-system/content/
github.com/EbookFoundation/free-programming-books/blob/master/free-programming-books.md#operating-systems
en.wikipedia.org/wiki/Operating_Systems:_Design_and_Implementation
os-book.com/
amazon.com/Modern-Operating-Systems-Herbert-Tanenbaum/dp/1292061421/ref=mt_paperback?_encoding=UTF8&me=
twitter.com/SFWRedditGifs

1) study OSes for twenty years
2) code for another 20 +
you got your own OS that is only few ages behind the times

...

no

1. avoid gneww

Make a Sup Forums OS

rename yourself to Terry A. Davis

make your own kernel
write your own OS
slap a GUI if you like

cs.bham.ac.uk/~exr/lectures/opsys/10_11/lectures/os-dev.pdf

This is a good place to start: wiki.osdev.org

1) write x86_64 bootloader, boot into C in Qemu
2) learn to print to framebuffer because GUI is too hard to implement be yourself
3) implement ring model so you don't run everything in ring 0 (or don't)
4) start implementing libc for your system
5) call it a kernel and make some syscalls
6) learn to implement interrupt handlers
7) implement processes, tasks and scheduling, IPC
8) simple filesystem implementation, ext2 is simple and can be copied
9) implement userspace utilities, some editor, shell
10) port some simplest ANSI C so you can self-compiler
...
*) give up and use Plan 9

>Plan 9

I love Ed Wood Jr. as much as anyone, but naming any project as an homage to any of his movies is just a recipe for failure. I mean failure is what he's remembered for basically.

If you have to ask you don't have the proper skillset. Go back to watching Mr. Robot

>if you have to ask

And how do you propose someone obtains the information on what is needed to even accomplish this task? Everyone starts somewhere.

If the first thing to do is to ask on cartoon cp imageboard instead of doing minimal research than I doubt you will get any far.

>no
You wanted to know how. We couldn't guarantee you'd like the answer.

Just wanted to let you that I hope you enjoy the rest of your miserable life.

>wiki.osdev.org
Listen to this guy, OP. OSDev is a great resource.

Thanks everyone.

>keyboard driver, file system and processes empty
shame, thanks anyway

install gentoo

I know OP won't use it since he is a faggot and won't get past printing hello world on framebuffer, but these are some links I've hoarded over time:
littleosbook.github.io/
greenteapress.com/thinkos/
os.phil-opp.com/
cs.vu.nl//~herbertb/misc/writingkernels.txt
samypesse.gitbooks.io/how-to-create-an-operating-system/content/

and ofc books:
github.com/EbookFoundation/free-programming-books/blob/master/free-programming-books.md#operating-systems
en.wikipedia.org/wiki/Operating_Systems:_Design_and_Implementation
os-book.com/
amazon.com/Modern-Operating-Systems-Herbert-Tanenbaum/dp/1292061421/ref=mt_paperback?_encoding=UTF8&me=

Hey man thanks for that, that's a solid list

Very appreciated bud.

>You wanted to know how. We couldn't guarantee you'd like the answer.
/Life

SUSE Stuido

develop schizophrenia

LFS

Osdev wiki. It's how got started writing my own

if you really want to get on hardware level, op, just start programming microcontrollers (real ones not devboards). you will actually get results with that.

>github.com/EbookFoundation/free-programming-books/blob/master/free-programming-books.md#operating-systems
Oh Daaaaaaaam

For the sake of conversation, how's it coming along man?

Thanks for the tip.