using System.Collections.Generic; namespace BizHawk.Emulation.Cores.Computers.Commodore64.Cartridge { // This mapper comes from Dinamic. It is in fact identical // to the System 3 mapper (000F) except that bank switching is // done by reads to the DExx region instead of writes. // This is why mapper 0011 inherits directly from 000F. internal class Mapper0011 : Mapper000F { public Mapper0011(IList newAddresses, IList newBanks, IList newData) : base(newAddresses, newBanks, newData) { // required to pass information to base class } public override void PokeDE00(int addr, int val) { // do nothing } public override int ReadDE00(int addr) { BankSet(addr); return base.ReadDE00(addr); } public override void WriteDE00(int addr, int val) { // do nothing } } }