@@ -0,0 +1,1119 @@
+package net.katsuster.ememu.generic;%0A%0A/**%0A * Multimedia Card (MMC)%0A *%0A * %E5%8F%82%E8%80%83: ?%0A */%0Apublic class MMC extends AbstractParentCore %7B%0A    public static final int REG_IO  = 0x00;%0A%0A    public MMC(String n) %7B%0A        super(n);%0A%0A        setSlaveCore(new MMCSlave());%0A    %7D%0A%0A    class MMCSlave extends Controller32 %7B%0A        public MMCSlave() %7B%0A            addReg(REG_IO,  %22IO%22,  0x00000000);%0A        %7D%0A%0A        @Override%0A        public int readWord(BusMaster64 m, long addr) %7B%0A            int regaddr;%0A            int result;%0A%0A            regaddr = (int) (addr & BitOp.getAddressMask(LEN_WORD_BITS));%0A%0A            switch (regaddr) %7B%0A            default:%0A                result = super.readWord(m, regaddr);%0A                break;%0A            %7D%0A%0A            return result;%0A        %7D%0A%0A        @Override%0A        public void writeWord(BusMaster64 m, long addr, int data) %7B%0A            int regaddr;%0A%0A            regaddr = (int) (addr & BitOp.getAddressMask(LEN_WORD_BITS));%0A%0A            switch (regaddr) %7B%0A            default:%0A                super.writeWord(m, regaddr, data);%0A                break;%0A            %7D%0A        %7D%0A    %7D%0A%7D%0A

add empty MMC core