Add screenshot of wrapping_add output (#1073)

This commit is contained in:
Kenny Strawn
2022-01-27 03:46:34 -08:00
committed by GitHub
parent 1da47d3177
commit 9adc094f43
2 changed files with 1 additions and 2 deletions

View File

@@ -626,8 +626,7 @@ fn kernel_main(boot_info: &'static mut BootInfo) -> ! {
We use the [`wrapping_add`] method here because Rust panics on implicit integer overflow (at least in debug mode). By adding a prime number, we try to add some variety. The result looks as follows: We use the [`wrapping_add`] method here because Rust panics on implicit integer overflow (at least in debug mode). By adding a prime number, we try to add some variety. The result looks as follows:
TODO ![QEMU showing repeating gradient columns](qemu-wrapping-add.png)
### Booting on Real Hardware ### Booting on Real Hardware

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB