C# Class Ypsilon.Emulation.Emulator

Inheritance: IEmulator
Datei anzeigen Open project: ZaneDubya/YCPU Class Usage Examples

Public Methods

Method Description
Draw ( List textures ) : void
Emulator ( ) : System.Collections.Generic
Initialize ( IDisplayProvider display, IInputProvider input ) : void
LoadBinaryToROM ( string path ) : void
RunCycles ( int cycleCount ) : void
RunOneInstruction ( ) : void
Start ( ) : void
Stop ( ) : void
Update ( float frameMS ) : void

Private Methods

Method Description
getBytesFromFile ( string path ) : byte[]

Method Details

Draw() public method

public Draw ( List textures ) : void
textures List
return void

Emulator() public method

public Emulator ( ) : System.Collections.Generic
return System.Collections.Generic

Initialize() public method

public Initialize ( IDisplayProvider display, IInputProvider input ) : void
display IDisplayProvider
input IInputProvider
return void

LoadBinaryToROM() public method

public LoadBinaryToROM ( string path ) : void
path string
return void

RunCycles() public method

public RunCycles ( int cycleCount ) : void
cycleCount int
return void

RunOneInstruction() public method

public RunOneInstruction ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Update() public method

public Update ( float frameMS ) : void
frameMS float
return void