C# Class NesHd.Core.Memory.Map

显示文件 Open project: afonsof/nes-hd Class Usage Examples

Public Properties

Property Type Description
CurrentChrRomPage uint[]
CurrentPrgRomPage uint[]

Public Methods

Method Description
InitializeMapper ( ) : void
Map ( Memory memory, NesEngine engine ) : NesHd.Core.Memory.Mappers
ReadChr ( ushort address ) : byte
ReadChrPageNo ( ushort address ) : uint
ReadPrg ( ushort address ) : byte
Switch16KPrgRom ( int start, int area ) : void
Switch1KChrRom ( int start, int area ) : void
Switch1kVRomToVRam ( int start, int area ) : void
Switch2KChrRom ( int start, int area ) : void
Switch32KPrgRom ( int start ) : void
Switch4KChrRom ( int start, int area ) : void
Switch8KChrRom ( int start ) : void
Switch8KPrgRom ( int start, int area ) : void
SwitchVRamToVRam ( int start, int area ) : void
TickCycleTimer ( ) : void
TickScanlineTimer ( ) : void
WriteChr ( ushort address, byte value ) : void
WritePrg ( ushort address, byte value ) : void

Method Details

InitializeMapper() public method

public InitializeMapper ( ) : void
return void

Map() public method

public Map ( Memory memory, NesEngine engine ) : NesHd.Core.Memory.Mappers
memory Memory
engine NesEngine
return NesHd.Core.Memory.Mappers

ReadChr() public method

public ReadChr ( ushort address ) : byte
address ushort
return byte

ReadChrPageNo() public method

public ReadChrPageNo ( ushort address ) : uint
address ushort
return uint

ReadPrg() public method

public ReadPrg ( ushort address ) : byte
address ushort
return byte

Switch16KPrgRom() public method

public Switch16KPrgRom ( int start, int area ) : void
start int
area int
return void

Switch1KChrRom() public method

public Switch1KChrRom ( int start, int area ) : void
start int
area int
return void

Switch1kVRomToVRam() public method

public Switch1kVRomToVRam ( int start, int area ) : void
start int
area int
return void

Switch2KChrRom() public method

public Switch2KChrRom ( int start, int area ) : void
start int
area int
return void

Switch32KPrgRom() public method

public Switch32KPrgRom ( int start ) : void
start int
return void

Switch4KChrRom() public method

public Switch4KChrRom ( int start, int area ) : void
start int
area int
return void

Switch8KChrRom() public method

public Switch8KChrRom ( int start ) : void
start int
return void

Switch8KPrgRom() public method

public Switch8KPrgRom ( int start, int area ) : void
start int
area int
return void

SwitchVRamToVRam() public method

public SwitchVRamToVRam ( int start, int area ) : void
start int
area int
return void

TickCycleTimer() public method

public TickCycleTimer ( ) : void
return void

TickScanlineTimer() public method

public TickScanlineTimer ( ) : void
return void

WriteChr() public method

public WriteChr ( ushort address, byte value ) : void
address ushort
value byte
return void

WritePrg() public method

public WritePrg ( ushort address, byte value ) : void
address ushort
value byte
return void

Property Details

CurrentChrRomPage public_oe property

public uint[] CurrentChrRomPage
return uint[]

CurrentPrgRomPage public_oe property

public uint[] CurrentPrgRomPage
return uint[]