From dfbee39c1c544874b74878efd80d178f6976d3c4 Mon Sep 17 00:00:00 2001 From: "andres.delikat" Date: Mon, 18 Apr 2011 23:55:47 +0000 Subject: [PATCH] NES - Start AVE-NINA class --- .../Consoles/Nintendo/NES/Boards/AVE-NINA.cs | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 BizHawk.Emulation/Consoles/Nintendo/NES/Boards/AVE-NINA.cs diff --git a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/AVE-NINA.cs b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/AVE-NINA.cs new file mode 100644 index 0000000000..edc59186fa --- /dev/null +++ b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/AVE-NINA.cs @@ -0,0 +1,66 @@ +using System; +using System.IO; +using System.Diagnostics; + +namespace BizHawk.Emulation.Consoles.Nintendo +{ + /* + + */ + + class AVI_NINA_001 : NES.NESBoardBase + { + public override bool Configure(NES.EDetectionOrigin origin) + { + //configure + switch (Cart.board_type) + { + case "AVI_NINA_001": + break; + default: + return false; + } + SetMirrorType(Cart.pad_h, Cart.pad_v); + return true; + } + + public override byte ReadPPU(int addr) + { + return base.ReadPPU(addr); + } + + public override void SyncState(Serializer ser) + { + base.SyncState(ser); + } + } + + /* + */ + class AVI_Misc : NES.NESBoardBase + { + public override bool Configure(NES.EDetectionOrigin origin) + { + //configure + switch (Cart.board_type) + { + case "AVI_Misc": + break; + default: + return false; + } + SetMirrorType(Cart.pad_h, Cart.pad_v); + return true; + } + + public override byte ReadPPU(int addr) + { + return base.ReadPPU(addr); + } + + public override void SyncState(Serializer ser) + { + base.SyncState(ser); + } + } +}