- A&=0x8800;
- if(A==0x8800)
- {
- mapbyte1[0]=V;
- if(V&0x80)
- ROM_BANK32(2|(V>>6));
- else
- {
- ROM_BANK16(0x8000,(V>>5)&3);
- ROM_BANK16(0xc000,(V>>5)&3);
- }
- MIRROR_SET((V&0x8)>>3);
- }
- else
- mapbyte1[1]=V;
- VROM_BANK8((mapbyte1[1]&3)|(mapbyte1[0]&7)|((mapbyte1[0]&0x10)>>1));
- //printf("$%04x:$%02x\n",A,V);
+ EXPREGS[0]=EXPREGS[1]=0;
+ GenMMC3Power();
+ SetWriteHandler(0x4120,0x7FFF,M189Write);