forked from sin365/AxibugEmuOnline
17 lines
391 B
C#
17 lines
391 B
C#
namespace MyNes.Core
|
|
{
|
|
[BoardInfo("Color Dreams", 11)]
|
|
internal class Mapper011 : Board
|
|
{
|
|
private byte writeData;
|
|
|
|
internal override void WritePRG(ref ushort address, ref byte data)
|
|
{
|
|
ReadPRG(ref address, out writeData);
|
|
writeData &= data;
|
|
Switch32KPRG(writeData & 3, PRGArea.Area8000);
|
|
Switch08KCHR((writeData >> 4) & 0xF);
|
|
}
|
|
}
|
|
}
|