diff --git a/src/mmu.rs b/src/mmu.rs index 1648e9f8485a82782a3adb439067fccd63fe786f..9010d9e6f2fd304cd6c40ba80b1def5df6c1084c 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; }