public override bool Configure(EDetectionOrigin origin) { switch (Cart.BoardType) { case "UNIF_UNL-DRIPGAME": break; default: return(false); } Cart.WramSize = 8; Cart.WramBattery = false; AssertPrg(16, 32, 64, 128, 256); // 4 bits x 16 AssertChr(8, 16, 32); // 4 bits x 2 AutoMapperProps.Apply(this); prgmask = Cart.PrgSize / 16 - 1; chrmask = Cart.PrgSize / 2 - 1; prg[1] = prgmask; SetMirror(0); if (NES.apu != null) // don't start up sound when in configurator { sound0 = new SoundChannel(NES.apu.ExternalQueue); sound1 = new SoundChannel(NES.apu.ExternalQueue); } return(true); }
public override bool Configure(NES.EDetectionOrigin origin) { switch (Cart.board_type) { case "MAPPER228": case "MLT-ACTION52": break; default: return(false); } AssertPrg(256, 1536); chr_bank_mask_8k = Cart.chr_size / 8 - 1; prg_bank_mask_16k = Cart.prg_size / 16 - 1; prg_bank_mask_32k = Cart.prg_size / 32 - 1; if (Cart.prg_size == 256) { cheetahmen = true; } else { prg_bank_mask_16k = 0x1F; prg_bank_mask_32k = 0xF; } AutoMapperProps.Apply(this); return(true); }
public override bool Configure(NES.EDetectionOrigin origin) { switch (Cart.board_type) { case "UNIF_BMC-BS-5": break; default: return(false); } reg_prg[0] = 0xFF; reg_prg[1] = 0xFF; reg_prg[2] = 0xFF; reg_prg[3] = 0xFF; SetMirrorType(EMirrorType.Vertical); _prgMask8k = Cart.prg_size / 8 - 1; _chrMask2k = Cart.prg_size / 2 - 1; AutoMapperProps.Apply(this); return(true); }
private void InitValues() { AutoMapperProps.Apply(this); irq_enable = false; init_sequence = 0; irq_count = 0; Sync(); }
public override bool Configure(EDetectionOrigin origin) { switch (Cart.BoardType) { case "UNIF_BMC-Ghostbusters63in1": break; default: return false; } AutoMapperProps.Apply(this); return true; }
public override bool Configure(EDetectionOrigin origin) { switch (Cart.BoardType) { case "UNIF_BMC-D1038": break; default: return(false); } AutoMapperProps.Apply(this); return(true); }
public override bool Configure(NES.EDetectionOrigin origin) { switch (Cart.board_type) { case "MAPPER060": break; default: return(false); } AutoMapperProps.Apply(this); return(true); }
public override bool Configure(NES.EDetectionOrigin origin) { switch (Cart.board_type) { case "UNIF_UNL-SHERO": break; default: return(false); } BaseSetup(); AutoMapperProps.Apply(this); return(true); }
private void InitValues() { for (int i = 0; i < 4; i++) { prg_regs[i] = 0xFF; nt_regs[i] = 0; } for (int i = 0; i < 8; i++) { chr_regs[i] = 0xFFFF; } AutoMapperProps.Apply(this); Sync(); }
public override bool Configure(EDetectionOrigin origin) { switch (Cart.BoardType) { case "MAPPER057": break; default: return(false); } SetMirrorType(EMirrorType.Horizontal); AutoMapperProps.Apply(this); return(true); }
public override bool Configure(EDetectionOrigin origin) { switch (Cart.BoardType) { case "UNIF_BMC-8157": break; default: return(false); } _prgMask16k = Cart.PrgSize / 16 - 1; AutoMapperProps.Apply(this); return(true); }
public override bool Configure(NES.EDetectionOrigin origin) { switch (Cart.board_type) { case "MAPPER060": // Hack, Reset 4-in-1 is a different board but still assign to mapper 60 if (Cart.prg_size != 64 || Cart.chr_size != 32) { break; } return(false); default: return(false); } AutoMapperProps.Apply(this); return(true); }
public override bool Configure(NES.EDetectionOrigin origin) { switch (Cart.board_type) { case "UNIF_BMC-70in1": isLargeBanks = false; break; case "MAPPER236": case "UNIF_BMC-70in1B": isLargeBanks = true; break; default: return(false); } AutoMapperProps.Apply(this); return(true); }
public override bool Configure(NES.EDetectionOrigin origin) { switch (Cart.board_type) { //case "MAPPER236": // Nestopia classifies both boards as MAPPER236, but I have yet to a see a ROM iwth this iNES header, and how would we determine which one it was? case "UNIF_BMC-70in1": isLargeBanks = false; break; case "UNIF_BMC-70in1B": isLargeBanks = true; break; default: return(false); } AutoMapperProps.Apply(this); return(true); }