C# Class GbcEmulator.Memory.FlatMMU

Inheritance: IMemoryManagementUnit
Show file Open project: CRogers/GbcEmulator

Public Methods

Method Description
FlatMMU ( int size )
ReadByte ( int addr ) : byte
ReadUShort ( int addr ) : ushort
WriteByte ( int addr, byte value ) : void
WriteUShort ( int addr, ushort value ) : void

Method Details

FlatMMU() public method

public FlatMMU ( int size )
size int

ReadByte() public method

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

ReadUShort() public method

public ReadUShort ( int addr ) : ushort
addr int
return ushort

WriteByte() public method

public WriteByte ( int addr, byte value ) : void
addr int
value byte
return void

WriteUShort() public method

public WriteUShort ( int addr, ushort value ) : void
addr int
value ushort
return void