A simple hobby OS for x86 in C with a working shell.
You'll need:
i686-elf-gcccross-compilernasmassemblerqemu-system-i386emulatorgrub(for grub-mkrescue)
Install WSL2 or use a Linux VM, then:
sudo apt-get install nasm qemu-system-x86 grub-pc-bin xorrisoFor the cross-compiler, follow the OSDev wiki instructions or use a prebuilt toolchain.
makemake runThis will launch QEMU with your OS.
- VGA text mode output (80x25)
- Keyboard input
- Basic shell with commands
- Interrupt handling (IDT)
- PIC initialization
clear- Clear screenhelp- Show available commandsecho <text>- Print textver- Show version
os-dev/
├── src/
│ ├── boot/ # Boot code (assembly)
│ ├── kernel/ # Kernel C code
│ └── drivers/ # Device drivers
├── include/ # Header files
├── linker.ld # Linker script
└── Makefile