- uint32 base=(cmd&0x80)<<5;
-
- setchr2(0x0000^base,regs[0]);
- setchr2(0x0800^base,regs[2]);
-
- setchr1(0x1000^base,regs[6]);
- setchr1(0x1400^base,regs[1]);
- setchr1(0x1800^base,regs[7]);
- setchr1(0x1c00^base,regs[3]);
+ switch (A&0x8001)
+ {
+ case 0x8000: MMC3_CMDWrite(0x8000,(V&0xC0)|(m114_perm[V&7])); break;
+ case 0x8001: MMC3_CMDWrite(0x8001,V); break;
+ }