Skip to content

About

A basic x86_64 OS written in Rust to get a better understanding of low level programming

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Rust Languages Issues Forks Stars License Size Lines

Bare metal program written entirely in rust

This was created to learn about bare metal programming, the x86_64 architecture, and rust in general. Heavily inspired by this

How to run it

Requirements

Here are the required packages:

Rust:

  • rust nightly compiler >= v1.53.0 (run rustup toolchain install nightly)
  • rustup run nightly rustup component add llvm-tools-preview rust-src
  • cargo install bootimage

Operating System:

  • qemu-system-x86_64
  • cargo
  • rustup
rustup run nightly cargo build --release

Now you will have the image under target/x86_64-test_os/debug/bootimage-test_os.bin.
To run in in qemu use this command:

qemu-system-x86_64 -drive format=raw,file=target/x86_64-test_os/debug/bootimage-test_os.bin

About

A basic x86_64 OS written in Rust to get a better understanding of low level programming

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Contributors

Languages