C# 클래스 NesHd.Core.NesEngine

The main class of nes machine we emulate
파일 보기 프로젝트 열기: afonsof/nes-hd 1 사용 예제들

공개 메소드들

메소드 설명
LoadRom ( string romPath ) : bool

Load a rom into the memory

NesEngine ( TvFormat tvFormat, PaletteFormat plFormat ) : System
Pause ( ) : void
Resume ( ) : void
Run ( ) : void

Run the Nes

SaveSram ( string filePath ) : void
SetupInput ( InputManager manager, Joypad joy1, Joypad joy2 ) : void
SetupOutput ( IGraphicDevice videoDevice, IAudioDevice audioDevice ) : void
SetupTv ( TvFormat tvFormat, PaletteFormat palleteFormat ) : void
ShutDown ( ) : void
SoftReset ( ) : void
TogglePause ( ) : void

Toggle pause the nes

비공개 메소드들

메소드 설명
CpuPauseToggle ( object sender, EventArgs e ) : void

메소드 상세

LoadRom() 공개 메소드

Load a rom into the memory
public LoadRom ( string romPath ) : bool
romPath string The INES rom path
리턴 bool

NesEngine() 공개 메소드

public NesEngine ( TvFormat tvFormat, PaletteFormat plFormat ) : System
tvFormat TvFormat
plFormat NesHd.Core.PPU.PaletteFormat
리턴 System

Pause() 공개 메소드

public Pause ( ) : void
리턴 void

Resume() 공개 메소드

public Resume ( ) : void
리턴 void

Run() 공개 메소드

Run the Nes
public Run ( ) : void
리턴 void

SaveSram() 공개 메소드

public SaveSram ( string filePath ) : void
filePath string
리턴 void

SetupInput() 공개 메소드

public SetupInput ( InputManager manager, Joypad joy1, Joypad joy2 ) : void
manager NesHd.Core.Input.InputManager
joy1 NesHd.Core.Input.Joypad
joy2 NesHd.Core.Input.Joypad
리턴 void

SetupOutput() 공개 메소드

public SetupOutput ( IGraphicDevice videoDevice, IAudioDevice audioDevice ) : void
videoDevice IGraphicDevice
audioDevice IAudioDevice
리턴 void

SetupTv() 공개 메소드

public SetupTv ( TvFormat tvFormat, PaletteFormat palleteFormat ) : void
tvFormat TvFormat
palleteFormat NesHd.Core.PPU.PaletteFormat
리턴 void

ShutDown() 공개 메소드

public ShutDown ( ) : void
리턴 void

SoftReset() 공개 메소드

public SoftReset ( ) : void
리턴 void

TogglePause() 공개 메소드

Toggle pause the nes
public TogglePause ( ) : void
리턴 void