lambdaOS
lambdaOS copied to clipboard
A very basic operating system written in Rust, with some sprinklings of Assembly.
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