Hello guys! I'm currently studying Namco 163 for a mapper hack project. But now I'm stucked on the Nametable mirroring.
Unlike VRC4/MMC3/Sunsoft5/Bandai FCG and other mappers, which write some value to some specific register to set mirroring, N163 has no such registers. From what I've learned, it seems I should map some banks directly to PPU $2000~$2FFF.
So I wrote the following code trying to set Vertical Mirroring:
However when running on emulator (Mesen 0.9.8) it does not set to V-Mirroring but single screen B! I don't know why this happens. Did I misunderstand something? or is it because I forgot to initialize some registers?
Could anyone please give me some hints? Thanks in advance!
Unlike VRC4/MMC3/Sunsoft5/Bandai FCG and other mappers, which write some value to some specific register to set mirroring, N163 has no such registers. From what I've learned, it seems I should map some banks directly to PPU $2000~$2FFF.
So I wrote the following code trying to set Vertical Mirroring:
Code:
lda #$E0
sta $C000
sta $D000
lda #$E1
sta $C800
sta $D800
sta $C000
sta $D000
lda #$E1
sta $C800
sta $D800
However when running on emulator (Mesen 0.9.8) it does not set to V-Mirroring but single screen B! I don't know why this happens. Did I misunderstand something? or is it because I forgot to initialize some registers?
Could anyone please give me some hints? Thanks in advance!