actually turn off bootrom LOL

This commit is contained in:
Alex Janka 2023-02-06 12:37:35 +11:00
parent 9591f2123f
commit 1338d58582

View file

@ -178,7 +178,10 @@ impl Memory {
} }
self.io[(address - 0xFF00) as usize] = data; self.io[(address - 0xFF00) as usize] = data;
} }
0xFF4C..0xFF80 => { 0xFF50 => {
self.bootrom_enabled = false;
}
0xFF4C..0xFF50 | 0xFF51..0xFF80 => {
// println!("empty space 2 write: {:#X} to addr {:#X}", data, address); // println!("empty space 2 write: {:#X} to addr {:#X}", data, address);
} }
0xFF80..0xFFFF => { 0xFF80..0xFFFF => {