AxibugEmuOnline/OtherCore/MyNes.Standard2/MyNes.Core/Mapper006.cs

22 lines
489 B
C#
Raw Normal View History

2024-07-24 15:03:33 +08:00
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);
}
}
}