GekonOS is a hobby, educational, lightweight, and completely independent, Unix-like operating system built entirely from scratch.
Several packages are necessary to build GekonOS from source.
$ sudo apt update
$ sudo apt upgrade(First, update the package lists)
$ sudo apt install nasm(Install NASM to compile assembly source code files)
$ sudo apt install build-essential(Install build-essential to build the cross-compiler)
$ sudo apt install xorriso(Install xorriso to create CD images)
$ sudo apt install grub-mkrescue(Install grub-mkrescue to create GRUB bootloader when creating CD images)
$ sudo apt install qemu(Install QEMU to run the system)
The build process has two parts: building a cross-compiler, and building the operating system.
$ ./build.shIt is highly recommended to run GekonOS on virtual machine. Some testing on real hardware are done, but driver support is still limited and virtual machines provide easily tested environments. QEMU, Bochs and VirtualBox are recommended and provide the most functionality.
$ ./run_qemu.sh$ ./run_bochs.sh- obsługa trybu tekstowego
- utworzenie własnej tablicy GDT i przełączenie pagingu na nią (ta którą utworzy GRUB prawdopodobnie nie bedzie wystarczająca)
- utworzenie struktur zarządzania pamięcią (tablice bitowe) oraz zaznaczenie w nich sektorów specjalnych i chronionych
- utworzenie pagingu
- przemapowanie przerwań
- utworzenie IDT i jej inicjacja
- zamontowanie podstawowych ISRów oraz ISRa pustego
- zainicjowanie PIT
- utworzenie i zainicjowanie TSSa systemowego (software task switching)
- obliczenie wartości początkowych dla multitaskingu
- uruchomienie pierwszego procesu
- loader / manager modułów
- sterownik klawiatury
- sterownik FDC
- system plików FAT12
- shell
v0.1 (15.05.2016)
- initial release