This is a kernel or OS that is written in ASM and C. It's pretty simple and straightforward, though not very functional sometimes.
This serves as an educative demo of a kernel with simple commands and without multitasking or any kind of good IO interface. Don't take it seriously
To install all prerequisites use these commands:
sudo apt update
sudo apt install qemu -y
sudo apt install qemu-system-x86 -y
sudo apt install xorriso -y
sudo apt install mtools -y
You will also need gcc
and nasm
for compiling files:
sudo apt install gcc
sudo apt install nasm
Just copy the repository in your directory using
git clone https://github.com/pi4erd/MyKernel.git
And that is all! You are ready for the next step.
To build our little OS run:
make all # or just 'make', no difference
Then to run it just use make run
or qemu-systems-x86_64 -cdrom build/os-x86_64.iso
You are ready to use it! Though, the only use now is education I suppose
I will be glad if anyone points out any mistakes and corrects it to finally support floats. I am a beginner programmer especially in this topic. Because of that I want to learn more. Thank you!