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

16 lines
372 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("Jaleco Early Mapper 2", 86)]
internal class Mapper086 : Board
{
internal override void WriteSRM(ref ushort address, ref byte data)
{
if (address < 28672)
{
Switch32KPRG((data >> 4) & 3, PRGArea.Area8000);
Switch08KCHR((data & 7) | ((data >> 4) & 4));
}
}
}
2024-07-03 15:40:13 +08:00
}