7 AnswersNew Answer
Your time maybe better spent on other projects unless you are capable of something ground-breaking.
I have try sometimes but it requires a good linux system to run a nasm files with boot sector and other functionality written in c and assembly code.Loock for a simple youtube channel to build an os from scrach.If you have a good knowledge in assembly you can do it.
I wish writing codes for building an OS would be easily available on YouTube.. Although I got to hear some jargons in my 1st semester, subject Operating System, I read something in a reference book named Mordern Operating System by Andrew S. Tannenbaum Which had quite explanation on breaking down operating system, which tells don't run for OS straight, learn the basics of C, assembly Language, start writing small codes. Then gradually proceed for learning memory allocation, system calls, thread and processes, routines, synchronisation mechanism, much more fundamentals.. And then after some more long list comes to the development.. Start by writing small compilers, kernel, bootloader, and again the list goes on
This is a bit off topic for the question, but Rust is a programming language that is very safe and rising in popularity. It is very good for low level development, which includes OS building.