ThanOS
An OS for x86_64 (though only 32 bit atm). This project is not supposed to be any good, I am just experimenting with OS development.
Progress/Features
- a bootloader which
- switches to 32-bit protected mode
- loads the kernel
- a very basic VGA display driver
- Paging (coming soon)
Build it yourself
Requirements
nasm
for compiling the assembly codemake
for running make rulesi686-elf-ld
for linking. This is a linker configured for thei686-elf
target. If you have not already, you will need to build it yourselfi686-elf-gcc
for compiling the C code. This is a GCC cross compiler configured for thei686-elf
target. If you have not already, you will need to build it yourselfqemu-system-x86_64
for emulating the OS (optional)
Steps
- Run
make image
which will output the OS image into the root directory - You can run this image on an emulator of your choice. If you chose QEMU you may run
make run
to start the emulation. This also automatically (re-)builds the image.