When making a mapper for the PowerPak, can anyone tell me how to bankswitch the WRAM? I'm assuming it can be bankswitched, but I don't know that for sure.
When prgain(15:0) matches 6000-7FFF make prgbankin(18:13) (input to "prgchrsize" module) be { 4'b0000, wrambank }. wrambank is 2 bits for 8K*4 = 32K.
E: BTW I think the PRG size for the ROM has to be at least 32K to access all of the 32K WRAM because prgchrsize module masks the address.
Thanks, I think I see it now. It seems kinda weird and I don't see why it works like that, but I can try it.