C# Class C64Lib.Core.C64Display

Show file Open project: rosc77/vita64 Class Usage Examples

Private Properties

Property Type Description
Initialize void
MATRIX int
NewPrefs void
ShowRequester void
ShowRequester void
Speedometer void
Update void
WaitUntilActive void
init_graphics int

Public Methods

Method Description
C64Display ( C64 c64, EmulatorIOAdapter ioAdapter ) : System
CompositionTarget_Rendering ( object sender, EventArgs e ) : void
InitColors ( byte colors ) : void
PollKeyboard ( byte key_matrix, byte rev_matrix, byte &joystick ) : void
SetPixel ( int index, byte paletteIndex ) : void
SetPixels ( int startIndex, int count, byte paletteIndex ) : void
SetPixelsMulti ( int p, byte colorData, byte colorMask ) : void
SetPixelsStd ( int p, byte colorData, byte colorMask ) : void
UpdateLEDs ( DriveLEDState l0, DriveLEDState l1, DriveLEDState l2, DriveLEDState l3 ) : void
getBitsPerPixel ( ) : int
getHeight ( ) : int
getPalette ( ) : Color[]
getWidth ( ) : int
processKey ( int c64_key, bool key_up, byte key_matrix, byte rev_matrix, byte &joystick ) : void

Private Methods

Method Description
Initialize ( ) : void
MATRIX ( int a, int b ) : int
NewPrefs ( Prefs prefs ) : void
ShowRequester ( string a, string button1 ) : void
ShowRequester ( string a, string button1, string button2 ) : void
Speedometer ( int speed ) : void
Update ( ) : void
WaitUntilActive ( ) : void
init_graphics ( ) : int

Method Details

C64Display() public method

public C64Display ( C64 c64, EmulatorIOAdapter ioAdapter ) : System
c64 C64
ioAdapter EmulatorIOAdapter
return System

CompositionTarget_Rendering() public method

public CompositionTarget_Rendering ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

InitColors() public method

public InitColors ( byte colors ) : void
colors byte
return void

PollKeyboard() public method

public PollKeyboard ( byte key_matrix, byte rev_matrix, byte &joystick ) : void
key_matrix byte
rev_matrix byte
joystick byte
return void

SetPixel() public method

public SetPixel ( int index, byte paletteIndex ) : void
index int
paletteIndex byte
return void

SetPixels() public method

public SetPixels ( int startIndex, int count, byte paletteIndex ) : void
startIndex int
count int
paletteIndex byte
return void

SetPixelsMulti() public method

public SetPixelsMulti ( int p, byte colorData, byte colorMask ) : void
p int
colorData byte
colorMask byte
return void

SetPixelsStd() public method

public SetPixelsStd ( int p, byte colorData, byte colorMask ) : void
p int
colorData byte
colorMask byte
return void

UpdateLEDs() public method

public UpdateLEDs ( DriveLEDState l0, DriveLEDState l1, DriveLEDState l2, DriveLEDState l3 ) : void
l0 DriveLEDState
l1 DriveLEDState
l2 DriveLEDState
l3 DriveLEDState
return void

getBitsPerPixel() public method

public getBitsPerPixel ( ) : int
return int

getHeight() public method

public getHeight ( ) : int
return int

getPalette() public method

public getPalette ( ) : Color[]
return Color[]

getWidth() public method

public getWidth ( ) : int
return int

processKey() public method

public processKey ( int c64_key, bool key_up, byte key_matrix, byte rev_matrix, byte &joystick ) : void
c64_key int
key_up bool
key_matrix byte
rev_matrix byte
joystick byte
return void