public MMC3(NES.NESBoardBase board, int num_prg_banks) { this.board = board; if (board.Cart.chips.Contains("MMC3A")) { MMC3Type = EMMC3Type.MMC3A; } else if (board.Cart.chips.Contains("MMC3B")) { MMC3Type = EMMC3Type.MMC3BSharp; } else if (board.Cart.chips.Contains("MMC3BNONSHARP")) { MMC3Type = EMMC3Type.MMC3BNonSharp; } else if (board.Cart.chips.Contains("MMC3C")) { MMC3Type = EMMC3Type.MMC3C; } else { MMC3Type = EMMC3Type.MMC3C; //arbitrary choice. is it the best choice? } //initial values seem necessary regs[0] = 0; regs[1] = 2; regs[2] = 4; regs[3] = 5; regs[4] = 6; regs[5] = 7; regs[6] = 0; regs[7] = 1; Sync(); }
public MMC3(NES.NESBoardBase board, int num_prg_banks) { this.board = board; if (board.Cart.chips.Contains("MMC3A")) MMC3Type = EMMC3Type.MMC3A; else if (board.Cart.chips.Contains("MMC3B")) MMC3Type = EMMC3Type.MMC3BSharp; else if (board.Cart.chips.Contains("MMC3BNONSHARP")) MMC3Type = EMMC3Type.MMC3BNonSharp; else if (board.Cart.chips.Contains("MMC3C")) MMC3Type = EMMC3Type.MMC3C; else MMC3Type = EMMC3Type.MMC3C; //arbitrary choice. is it the best choice? //initial values seem necessary regs[0] = 0; regs[1] = 2; regs[2] = 4; regs[3] = 5; regs[4] = 6; regs[5] = 7; regs[6] = 0; regs[7] = 1; Sync(); }
public Namcot108Chip(NES.NESBoardBase board) { this.board = board; Sync(); }
public MMC3Variant(NES.NESBoardBase board) : base(board, 0) { }
public Namcot108Chip(NES.NESBoardBase board) { this.board = board; Sync(); }
public Mapper197_MMC3(NES.NESBoardBase board, int num_prg_banks) : base(board, num_prg_banks) { }