]> git.lizzy.rs Git - loadnothing.git/commitdiff
Fix build instructions
authorHimbeerserverDE <himbeerserverde@gmail.com>
Fri, 16 Sep 2022 14:54:41 +0000 (16:54 +0200)
committerHimbeerserverDE <himbeerserverde@gmail.com>
Fri, 16 Sep 2022 14:54:41 +0000 (16:54 +0200)
README.md

index 1946d1addf43bf72e2ff81add3ea8504463da027..424a0cba72072870488f4ccaab112d77558059f8 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,4 +1,27 @@
 # loadnothing
 Can I run boot code?
 
-Requires parted, dosfstools and qemu-system-x86.
+Requires nasm, parted, dosfstools and qemu-system-x86.
+
+Rust nightly needs to be installed. If no nightly toolchain shows up
+when you run `rustup toolchain list`, install it:
+
+```sh
+rustup toolchain install nightly
+```
+
+# Building
+Follow the instructions below to build the project without running it.
+
+```sh
+rustup default nightly
+rustup component add rust-src
+
+make nothing.img
+```
+
+# Running
+Simply type `make` to build and run the project.
+QEMU may require a VNC viewer.
+
+If it's working you should see "Hello Stage2!" on the screen.