Damsteen Operating System - Some fiddling with assembly and C
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Assets
bootloader
os
.gdbinit
.gitattributes
.gitignore
LICENSE
Makefile
README.md
macro.incl.asm
sdos.sln
sdos.vcxproj
sdos.vcxproj.filters

README.md

Damsteen operating system

Experimental operating system based on fiddling with assembly and C.

32-bit protected mode OS. Bootloader set-ups up protected mode with the GDT, kinit set-up interrupts and exception handling.

Prequisites

OS: Debian or "Windows subsystem for Linux" (WSL) with Ubuntu. GCC 4.9

apt-get install build-essential make nasm qemu gcc-multilib g++-multilib

If using WSL, don't forget to install an X display server like XMing, and set the DISPLAY variable.

Building

Make boot disk:

make

Run:

make run

Wait for GDB to attach on port 26000:

make debug

Clean output artifacts:

make clean