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

25 lines
590 B
C++

//////////////////////////////////////////////////////////////////////////
// BoardYoko //
//////////////////////////////////////////////////////////////////////////
class BoardYoko : public Mapper
{
public:
BoardYoko( NES* parent ) : Mapper(parent) {}
void Reset();
BYTE ReadLow(WORD addr);
void WriteLow(WORD addr, BYTE data);
void Write(WORD addr, BYTE data);
void HSync( INT scanline );
// void Clock( INT cycles );
protected:
BYTE reg[8], low[4];
BYTE mode, bank, dip;
BYTE IRQa;
WORD IRQCount;
BYTE SPROM;
private:
void SetBank();
};