This is a simple OS that I am creating by referring books and Youtube videos.
- Operating System (OS) is a fascinating work of art. It is just like any other program that runs on a hardware but OS is like a framework or platform where any program can use the resources provided by the master(OS). So OS is like a Master Control(i was referncing TRON).
- SO making a simple bootable disk which only does a basic printing fell different at first but the actual painful thing is management of resources of the Hardware and Managing the Data.
- When you achieve this You are in the creation the OS, i meant a part of it.
- So, in my opnion an ideal OS is like a GOOD VIRUS which takes control of everything and uses every single resource to achieve a result. So I want my OS to do the same.
- It needs to take control of everything and I don't want any hardware isssues or software errors.
- If a system cannot handle your OS it is a failed OS. Adapting and Updating is the Key for everything.
- So the name SIMPLE OS. It works and looks simple on a brand new pc and on a old mobile.
- But uses all the resources to maximum potential by adapting to the hardware.
- It is the program from the hardrive which is loaded into the CPU via BIOS to initiate the Boot process of the OS.
- It is only 512 bytes and ends with a magic bytes 55AA with in binary 0101010110101010.
- So when the BIOS notices that this file ends with the magic number then it again reads the file and exectutes the instructions in the file
- The first version just boots and tells Hello.
- The version 2 acts like a bootloader it pull the kernel code and shift to higher bit level like from 16 bit to 32 bit protected mode.
- Linux OS to write CODE it is easier than windows.
- Netwide Assembler (NASM) to compile the Assembly code
- Qemu to emulate the CPU to run the OS.
- Writing a simple Operating System from Scratch --by Nick Blundell:
This book is the starting point of this repo and I have made a simple boot sector and also included testing exercises for improving the understanding of the OS working and how a CPU understands instruction.
- So I think this OS needs to first understand what hardware it is on.
- Then it can work on installing the exact version which can utilize the Hardware i.e drivers and custom bootloaders, because it is not limited to just modern 64 bit cores.
- But also to the old basic 8 bit or 4 bit processor or any digital system.
- Making a proper Folder Structure.