[go: up one dir, main page]

Skip to content

davidtranhq/davOS

Repository files navigation

davOS

davOS is an operating system written in C++. As a WIP, currently it is just a minimal kernel for x86_64 that boots with the Limine boot protocol.

Build

Building a GCC cross-compiler

A GCC cross-compiler targetting x86_64-elf needs to be built. Follow these instructions to build one.

Building the OS

Run make to build the kernel davos.elf.

Run make iso to build the kernel and a bootable CD-ROM davos.iso.

Booting the OS

The OS can be booted using any VM or physical machine capable of booting from CD-ROMs. For development, consider the qemu VM.

If using qemu, the OS can be booted from the ISO using qemu-system-x86_64 -cdrom davos.iso.

Alternatively, run them make qemu to build the kernel and CD-ROM and run qemu all in one step.

Use make debug to start QEMU in the background with an attached GDB instance.

Use make test to start QEMU with debug messages and tests enabled.

QEMU on WSL2

Additional steps need to be taken to run qemu on WSL2 since it requires a GUI. https://skeptric.com/wsl2-xserver/ provides a step-by-step guide on setting up a Windows X Server for running WSl2 GUI applications using VcXsrv.

About

An operating system written in C++.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published