Skip to content

EvanMu96/wontonOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wontonOS

test

Introduction

A repo to learn Rust and basic OSDev.

Build

To build this naive operating system, your should install the lastest nightly rust toolchain, including rust-src and llvm-tools-preview components.

> rustup toochain install nightly
> rustup component add rust-src
> rustup component add llvm-tools-preview

To check your current rust toolchain type and version, you can use command

> rustc -Vv

Moreover, to run the os in a virtual machine, you should install qemu with x86 system sypport

> sudo apt-get install qemu qemu-system-x86

and install bootimage by cargo

> cargo install bootimage

Then, try testing all unit test

> cargo test

To boot and check screen printing

> cargo run

use any of VNC clients to connect 5900 port for monitoring.

Reference

https://os.phil-opp.com/

About

Learn Rust by writing an OS. Reference: https://github.com/phil-opp/blog_os

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages