AxibugEmuOnline/References/VirtuaNESex_src_191105/NES/Mapper/Mapper162.h
2024-08-05 17:58:53 +08:00

25 lines
561 B
C++

//////////////////////////////////////////////////////////////////////////
// Mapper162 //
//////////////////////////////////////////////////////////////////////////
class Mapper162 : public Mapper
{
public:
Mapper162( NES* parent ) : Mapper(parent) {}
void Reset();
void WriteLow(WORD addr, BYTE data);
void Write( WORD addr, BYTE data );
void HSync( INT scanline );
protected:
BYTE reg5000;
BYTE reg5100;
BYTE reg5200;
BYTE reg5300;
private:
void SetBank_CPU();
void SetBank_PPU();
};