Start Mapper 164 and add Final Fantasy V (Unl) to gamedb.txt
This commit is contained in:
parent
075c4ea3dd
commit
7943ff5781
|
@ -110,6 +110,7 @@
|
|||
<Compile Include="Consoles\Nintendo\NES\Boards\Mapper089.cs" />
|
||||
<Compile Include="Consoles\Nintendo\NES\Boards\Mapper093.cs" />
|
||||
<Compile Include="Consoles\Nintendo\NES\Boards\Mapper107.cs" />
|
||||
<Compile Include="Consoles\Nintendo\NES\Boards\Mapper164.cs" />
|
||||
<Compile Include="Consoles\Nintendo\NES\Boards\Mapper180.cs" />
|
||||
<Compile Include="Consoles\Nintendo\NES\Boards\Mapper240.cs" />
|
||||
<Compile Include="Consoles\Nintendo\NES\Boards\Mapper242.cs" />
|
||||
|
|
|
@ -93,7 +93,7 @@ Open bus and bus conflict emulation is not considered complete or thorough in an
|
|||
152 Misc (J) Complete
|
||||
154 Misc (J) Nothing
|
||||
159 Bandai {{See 016}}
|
||||
164 Pirate Junk
|
||||
164 Pirate Started
|
||||
165 Pirate Junk
|
||||
180 Misc (J) Complete (but we don't implement the crazy climber controller)
|
||||
182 MMC3Variant Nothing
|
||||
|
|
|
@ -0,0 +1,48 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace BizHawk.Emulation.Consoles.Nintendo
|
||||
{
|
||||
class Mapper164 : NES.NESBoardBase
|
||||
{
|
||||
//Mapper 164
|
||||
//Final Fantasy V (Unl)
|
||||
|
||||
int prg;
|
||||
|
||||
public override bool Configure(NES.EDetectionOrigin origin)
|
||||
{
|
||||
switch (Cart.board_type)
|
||||
{
|
||||
case "Mapper164":
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
SetMirrorType(Cart.pad_h, Cart.pad_v);
|
||||
prg = 0xFF;
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void WriteEXP(int addr, byte value)
|
||||
{
|
||||
addr &= 0xF300;
|
||||
if (addr == 0x5000)
|
||||
prg = value;
|
||||
}
|
||||
|
||||
public override void WritePRG(int addr, byte value)
|
||||
{
|
||||
addr &= 0xF300;
|
||||
if (addr == 0xD000)
|
||||
prg = value;
|
||||
}
|
||||
|
||||
public override byte ReadPPU(int addr)
|
||||
{
|
||||
return VROM[addr + (prg * 0x8000)];
|
||||
}
|
||||
}
|
||||
}
|
|
@ -90,6 +90,7 @@ sha1:7BD102770FE7766BF8430ACDB3C17EE51E30478C H Mike Tyson's Punch-Out!! (Hacked
|
|||
sha1:536D623BA02A622BDE8E2D7D514AE9785B5E0357 H Punch Out!! Kirby (Hack) (U) NES board=NES-PNROM;PRG=128;CHR=128;WRAM=0
|
||||
|
||||
;other assorted roms
|
||||
sha1:D09EF8127C64CBE817B45DF33C4D43E7B441E381 Final Fantasy V (Unl) NES board=Mapper164;PRG=512;CHR=0;WRAM=8;PRAM=8
|
||||
sha1:92D9695FEB774F60965A8303CFE3E6AAEE7B7B62 Magic Dragon (Unl) NES board=Mapper107;PRG=128;CHR=64;WRAM=8;PAD_H=1
|
||||
|
||||
#include gamedb_neshomebrew.txt
|
||||
|
|
Loading…
Reference in New Issue