]> git.lizzy.rs Git - loadnothing.git/blob - README.md
Define linker memory origin flags in the target .json
[loadnothing.git] / README.md
1 # loadnothing
2 Can I run boot code?
3
4 Requires nasm, parted, dosfstools and qemu-system-x86.
5
6 Rust nightly needs to be installed. If no nightly toolchain shows up
7 when you run `rustup toolchain list`, install it:
8
9 ```sh
10 rustup toolchain install nightly
11 ```
12
13 # Building
14 Follow the instructions below to build the project without running it.
15
16 ```sh
17 rustup default nightly
18 rustup component add rust-src
19
20 make nothing.img
21 ```
22
23 # Running
24 Simply type `make` to build and run the project.
25 QEMU may require a VNC viewer.
26
27 If it's working you should see "Hello Stage2!" on the screen.