Skip to content

sbwtw/sos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOS - sbw's Operating System

It's just a toy for learning OS technology.

Build from source

Build dependencies

Archlinux

pacman -S g++ cmake grub xorriso mtools

Extra build dependencies on Debian/Ubuntu

  • grub-pc-bin

Windows

Using Cygwin to install following dependency tools:

  • mingw
  • cmake
  • make
  • xorriso

Build

Must using g++/MinGW as compiler, clang or other else is NOT support yet.

mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_ASM_COMPILER=g++ ..
make # or ninja when using Ninja as generator

When build done, you can found sos.iso and sos_kernel in your build dir.

sos.iso is a bootable image so you can start from it using VirtualBox or QEMU.

Try SOS in QEMU emulator

Runtime dependencies

  • QEMU

Run

Basic

qemu-system-x86_64 -boot d -cdrom sos.iso -m 256

Enable KVM & IOMMU (Intel VT-d/AMD-Vi) support on Linux

qemu-system-x86_64 -enable-kvm -machine q35,accel=kvm -device intel-iommu -cpu host -boot d -cdrom sos.iso -m 256

Enable HAXM on Windows

qemu-system-x86_64 -accel hax -boot d -cdrom sos.iso -m 256

Screenshots

sos screenshots

License

This project is licensed under the MIT license.

About

sbw's Operating System.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published