C# Class NES.Engine

显示文件 Open project: mrmikey/nes Class Usage Examples

Public Properties

Property Type Description
APU APU
CPU CPU
Cartridge Cartridge
Graphics Graphics
IORegisters IORegisters
Joypads Joypads
PPU PPU
Running bool

Public Methods

Method Description
Engine ( string filename ) : System
ReadMemory16 ( ushort addr ) : ushort
ReadMemory8 ( ushort addr ) : byte
Run ( ) : void
WriteMemory8 ( ushort addr, byte val ) : void

Private Methods

Method Description
loadiNes ( string filename ) : void

Method Details

Engine() public method

public Engine ( string filename ) : System
filename string
return System

ReadMemory16() public method

public ReadMemory16 ( ushort addr ) : ushort
addr ushort
return ushort

ReadMemory8() public method

public ReadMemory8 ( ushort addr ) : byte
addr ushort
return byte

Run() public method

public Run ( ) : void
return void

WriteMemory8() public method

public WriteMemory8 ( ushort addr, byte val ) : void
addr ushort
val byte
return void

Property Details

APU public_oe property

public APU,NES APU
return APU

CPU public_oe property

public CPU,NES CPU
return CPU

Cartridge public_oe property

public Cartridge,NES Cartridge
return Cartridge

Graphics public_oe property

public Graphics,NES Graphics
return Graphics

IORegisters public_oe property

public IORegisters,NES IORegisters
return IORegisters

Joypads public_oe property

public Joypads,NES Joypads
return Joypads

PPU public_oe property

public PPU,NES PPU
return PPU

Running public_oe property

public bool Running
return bool