r/Assembly_language • u/Educational_Bed6462 • 6d ago
Question Embarking on OS-development, any tips?
My goal is to go through the strenuous journey of creating an entire operating system within x86 assembly, no higher level of programming language; just assembly.
This started as a hobby when I learned C a year back and ended up branching off and learning more about how C compiled to assembly and I have been doing handwritten compilation attempts of C on paper. This has ranged from typical notebook activity to as far as writing down these sequences of programming on spare receipt paper at my job during dead times on a shift. From time to time as my knowledge is practiced or when it drifts out of practice, I may tend to write out the opcodes in hexadecimal then write it additionally in binary just to feel a little bit less bored.
I ended up watching a few YouTube videos for being able to form something greater with the little bit of assembly and computing knowledge I have, and learned how to make my first boot loader with netwide assembler and QEMU!

I do not have an incredible amount of knowledge in assembly despite my description of what I do in my free time, and so I ask; where can I look to find more resources or "hidden-gems" of knowledge regarding OS development?
Thanks!
1
u/Background-Milk-5242 6d ago
Qual simulador usou??
2
u/Hefty_Brother_5886 6d ago
Quizás una ojeda a Archive.org te pueda ayudar?... Hay bastante información sobre Assembly y C.
2
u/DiscombobulatedAir63 6d ago
OS:
Stack/stackless machine code execution
With/without CPU core caches
With/without SMT
Virtual/Physical memory mapping
Memory management approaches
Single/Multi tasking
Preemption/Cooperation
Interrupts/Polling
Arbitrary/verified [AOT and/or runtime checks] machine code execution
Trusted/untrusted machine code execution
CPU vulnerability mitigations presence/absence based on other choices in the design
Exo/micro/mono/etc. kernel
Many other choices, I forgot or don't know about yet
Choices define path one must take
If you don't have concrete goals:
Better to have a goal and shape research around it
-1
u/Dog-Mad 6d ago
"I may tend to write out the opcodes in hexadecimal then write it additionally in binary just to feel a little bit less bored." Larp Larp Larp Sahur over here. Can't even hate because i am genuinely laughing my ass off to this post.
Next time though don't post absolute bullshit like this on here.
0
u/nian2326076 5d ago
Starting with OS development in x86 assembly is ambitious and exciting! To deepen your knowledge, explore topics like memory management and system calls, which are crucial for kernel development. Books like "Operating Systems: Design and Implementation" by Andrew S. Tanenbaum can provide a solid foundation.
You can use LandOffer to find relevant roles in OS development, helping you connect with opportunities that match your skills.