C# Class NyaElektriska.LEM1802.GPU

Inheritance: IDisplayContentProvider, IHardwareDevice
Show file Open project: kierenj/0x10c-DevKit Class Usage Examples

Public Methods

Method Description
CreateUIElement ( ) : UIElement
CycleTimerCompleted ( object state ) : void
DisplayClosed ( ) : void
DisplayOpened ( ) : void
GPU ( IWorkspace workspace ) : System
Initialise ( IEmulatedSystem system ) : void
Interrupt ( int &additionalCycles ) : void
Pulse ( ) : void
Query ( uint &manufacturer, uint &hardwareType, ushort &revision ) : void
Reset ( ) : void
Unload ( ) : void

Private Methods

Method Description
CreateDefaultPalette ( ) : IEnumerable
CreateImageHost ( System.Windows.Media.Imaging.WriteableBitmap bitmap ) : Image
GetFullColour ( ushort colour ) : int
LoadFontFromImage ( BitmapImage img ) : ushort[]
ReadFontData ( ) : ushort[]
ReadPaletteData ( ) : ushort[]
RenderCallback ( object sender, EventArgs e ) : void
ShowBoot ( ) : void
StartWarmup ( ) : void
UpdateDisplay ( ) : void

Method Details

CreateUIElement() public method

public CreateUIElement ( ) : UIElement
return UIElement

CycleTimerCompleted() public method

public CycleTimerCompleted ( object state ) : void
state object
return void

DisplayClosed() public method

public DisplayClosed ( ) : void
return void

DisplayOpened() public method

public DisplayOpened ( ) : void
return void

GPU() public method

public GPU ( IWorkspace workspace ) : System
workspace IWorkspace
return System

Initialise() public method

public Initialise ( IEmulatedSystem system ) : void
system IEmulatedSystem
return void

Interrupt() public method

public Interrupt ( int &additionalCycles ) : void
additionalCycles int
return void

Pulse() public method

public Pulse ( ) : void
return void

Query() public method

public Query ( uint &manufacturer, uint &hardwareType, ushort &revision ) : void
manufacturer uint
hardwareType uint
revision ushort
return void

Reset() public method

public Reset ( ) : void
return void

Unload() public method

public Unload ( ) : void
return void