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("UxROM", 2)]
|
|
|
|
internal class Mapper002 : Board
|
|
|
|
{
|
|
|
|
internal override void HardReset()
|
|
|
|
{
|
|
|
|
base.HardReset();
|
|
|
|
Switch16KPRG(PRG_ROM_16KB_Mask, PRGArea.AreaC000);
|
|
|
|
}
|
2024-07-03 18:15:28 +08:00
|
|
|
|
2024-07-03 18:22:22 +08:00
|
|
|
internal override void WritePRG(ref ushort addr, ref byte val)
|
|
|
|
{
|
|
|
|
Switch16KPRG(val, PRGArea.Area8000);
|
|
|
|
}
|
|
|
|
}
|
2024-07-03 15:40:13 +08:00
|
|
|
}
|