When I read :
"2000h-2007h Internal PPU Registers (mirrored to 2008h-3FFFh)"
I interpreted as :
every time I write to 200x (x varying from 0 to 7) I also write to:
but i don't do this on reverse, I mean when the cpu writes to address 2008.. I don't do nothing, must I need to do the same treatment?
why or where the mirroring is used?
all mirroring works like how?
thanks in advance
"2000h-2007h Internal PPU Registers (mirrored to 2008h-3FFFh)"
I interpreted as :
every time I write to 200x (x varying from 0 to 7) I also write to:
Code:
while ((address + 0x08) <= 0x3FFF) {
Memory.writeUnhandled(address + 0x08, value);
address += 8;
}
Memory.writeUnhandled(address + 0x08, value);
address += 8;
}
but i don't do this on reverse, I mean when the cpu writes to address 2008.. I don't do nothing, must I need to do the same treatment?
why or where the mirroring is used?
all mirroring works like how?
thanks in advance