C# Class GbcEmulator.Memory.Mbc2

MBC2 (max 256KByte ROM and 512x4 bits RAM)
Inheritance: Mbc1
显示文件 Open project: CRogers/GbcEmulator

Public Methods

Method Description
Mbc2 ( RomInfo romInfo ) : RomTools
ReadEram ( int addr ) : byte
Write0000_1FFF ( int addr, byte b ) : void
Write2000_3FFF ( int addr, byte b ) : void
WriteEram ( int addr, byte b ) : void

Method Details

Mbc2() public method

public Mbc2 ( RomInfo romInfo ) : RomTools
romInfo RomTools.RomInfo
return RomTools

ReadEram() public method

public ReadEram ( int addr ) : byte
addr int
return byte

Write0000_1FFF() public method

public Write0000_1FFF ( int addr, byte b ) : void
addr int
b byte
return void

Write2000_3FFF() public method

public Write2000_3FFF ( int addr, byte b ) : void
addr int
b byte
return void

WriteEram() public method

public WriteEram ( int addr, byte b ) : void
addr int
b byte
return void