C# Class GbcEmulator.Memory.Mbc3

Inheritance: Mbc1
Show file Open project: CRogers/GbcEmulator

Protected Properties

Property Type Description
LastRtcWrite byte
RtcAddressMapped bool
RtcDh byte
RtcDl byte
RtcH byte
RtcM byte
RtcS byte

Public Methods

Method Description
Mbc3 ( RomInfo romInfo ) : System
ReadEram ( int addr ) : byte
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

Private Methods

Method Description
LatchTime ( ) : void

Method Details

Mbc3() public method

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

ReadEram() public method

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

Write2000_3FFF() public method

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

Write4000_5FFF() public method

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

Write6000_7FFF() public method

public 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

Property Details

LastRtcWrite protected property

protected byte LastRtcWrite
return byte

RtcAddressMapped protected property

protected bool RtcAddressMapped
return bool

RtcDh protected property

protected byte RtcDh
return byte

RtcDl protected property

protected byte RtcDl
return byte

RtcH protected property

protected byte RtcH
return byte

RtcM protected property

protected byte RtcM
return byte

RtcS protected property

protected byte RtcS
return byte