AxibugEmuOnline/AxibugEmuOnline.Client/Assets/MyNes.Core/Mapper006.cs

22 lines
510 B
C#
Raw Normal View History

2024-07-03 18:22:22 +08:00
namespace MyNes.Core
2024-07-03 18:15:28 +08:00
{
2024-07-03 18:22:22 +08:00
[BoardInfo("FFE F4xxx", 6)]
[HassIssues]
internal class Mapper006 : FFE
{
internal override string Issues => MNInterfaceLanguage.IssueMapper6;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
internal override void HardReset()
{
base.HardReset();
Switch16KPRG(7, PRGArea.AreaC000);
}
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
internal override void WritePRG(ref ushort address, ref byte data)
{
Switch08KCHR(data & 3);
Switch16KPRG((data >> 2) & 0xF, PRGArea.Area8000);
}
}
2024-07-03 15:40:13 +08:00
}