From 53464ca3d4d843efca8d245d2b691cc33dde7c64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Wed, 29 Jun 2022 08:37:13 +0100 Subject: [PATCH] docs: new comments --- src/mmu.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mmu.rs b/src/mmu.rs index 1648e9f8..9010d9e6 100644 --- a/src/mmu.rs +++ b/src/mmu.rs @@ -40,6 +40,9 @@ impl Mmu { // in case the boot mode is active and the // address is withing boot memory reads from it if self.boot_active && addr <= 0x00fe { + // if we're reading from this location we can + // safely assume that we're exiting the boot + // loading sequence and disable boot if addr == 0x00fe { self.boot_active = false; } -- GitLab