#keyboard-input #driver #vga #devices #scheduling #paging #operating-system

yanked lambdaOS

A simple operating system written in Rust

Uses old Rust 2015

0.1.0 Jan 23, 2018

#9 in #paging

27 downloads per month

GPL-3.0 license

120KB
3K SLoC

lambdaOS

An OS written in Rust and Assembly. It currently only supports the amd64 architecture.

Features

Completed

  • VGA driver.
  • Paging.
  • Keyboard input / PS/2 driver.
  • Basic support for PCI devices.
  • Basic pre-emptive scheduling.

Building

# Install Rust - follow on-screen instructions. Note - you may have to reload your shell to be able to use Rust
# commands.
curl https://sh.rustup.rs -sSf | sh
# Clone repo.
git clone https://github.com/too-r/lambdaOS.git && cd ~/lambdaOS #Or wherever you put it.
# We need to be using the nightly toolchain.
rustup override set nightly
# Install rust-src and xargo for cross-compilation.
rustup component add rust-src && cargo install xargo
# Install dependencies from package manager.
sudo pacman -S make qemu xorriso grub nasm mtools
# Build and run lambdaOS
make run

Dependencies

~1MB
~18K SLoC