C# Class GbcEmulator.Memory.MemoryBankController

Show file Open project: CRogers/GbcEmulator Class Usage Examples

Protected Properties

Property Type Description
ri RomTools.RomInfo

Public Methods

Method Description
Factory ( RomInfo ri ) : MemoryBankController
MemoryBankController ( RomInfo romInfo ) : System
Read4000_7FFF ( int addr ) : byte
ReadEram ( int addr ) : byte
ReadWram ( int addr ) : byte
ReadZram ( int addr ) : byte
Write0000_1FFF ( int addr, byte b ) : void
Write2000_3FFF ( int addr, byte b ) : void
Write4000_5FFF ( int addr, byte b ) : void
Write6000_7FFF ( int addr, byte b ) : void
WriteEram ( int addr, byte b ) : void
WriteWram ( int addr, byte b ) : void
WriteZram ( int addr, byte b ) : void

Method Details

Factory() public static method

public static Factory ( RomInfo ri ) : MemoryBankController
ri RomTools.RomInfo
return MemoryBankController

MemoryBankController() public method

public MemoryBankController ( RomInfo romInfo ) : System
romInfo RomTools.RomInfo
return System

Read4000_7FFF() public abstract method

public abstract Read4000_7FFF ( int addr ) : byte
addr int
return byte

ReadEram() public method

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

ReadWram() public method

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

ReadZram() public method

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

Write0000_1FFF() public abstract method

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

Write2000_3FFF() public abstract method

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

Write4000_5FFF() public abstract method

public abstract Write4000_5FFF ( int addr, byte b ) : void
addr int
b byte
return void

Write6000_7FFF() public abstract method

public abstract Write6000_7FFF ( 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

WriteWram() public method

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

WriteZram() public method

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

Property Details

ri protected property

protected RomInfo,RomTools ri
return RomTools.RomInfo