AxibugEmuOnline/AxibugEmuOnline.Client/Assets/MyNes.Core/Mapper006.cs
2024-07-03 18:22:22 +08:00

22 lines
510 B
C#

namespace MyNes.Core
{
[BoardInfo("FFE F4xxx", 6)]
[HassIssues]
internal class Mapper006 : FFE
{
internal override string Issues => MNInterfaceLanguage.IssueMapper6;
internal override void HardReset()
{
base.HardReset();
Switch16KPRG(7, PRGArea.AreaC000);
}
internal override void WritePRG(ref ushort address, ref byte data)
{
Switch08KCHR(data & 3);
Switch16KPRG((data >> 2) & 0xF, PRGArea.Area8000);
}
}
}