C# Class C64Lib.Core.C64Display

Afficher le fichier Open project: rosc77/vita64 Class Usage Examples

Private Properties

Свойство Type Description
Initialize void
MATRIX int
NewPrefs void
ShowRequester void
ShowRequester void
Speedometer void
Update void
WaitUntilActive void
init_graphics int

Méthodes publiques

Méthode 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

Méthode 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 méthode

public C64Display ( C64 c64, EmulatorIOAdapter ioAdapter ) : System
c64 C64
ioAdapter EmulatorIOAdapter
Résultat System

CompositionTarget_Rendering() public méthode

public CompositionTarget_Rendering ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

InitColors() public méthode

public InitColors ( byte colors ) : void
colors byte
Résultat void

PollKeyboard() public méthode

public PollKeyboard ( byte key_matrix, byte rev_matrix, byte &joystick ) : void
key_matrix byte
rev_matrix byte
joystick byte
Résultat void

SetPixel() public méthode

public SetPixel ( int index, byte paletteIndex ) : void
index int
paletteIndex byte
Résultat void

SetPixels() public méthode

public SetPixels ( int startIndex, int count, byte paletteIndex ) : void
startIndex int
count int
paletteIndex byte
Résultat void

SetPixelsMulti() public méthode

public SetPixelsMulti ( int p, byte colorData, byte colorMask ) : void
p int
colorData byte
colorMask byte
Résultat void

SetPixelsStd() public méthode

public SetPixelsStd ( int p, byte colorData, byte colorMask ) : void
p int
colorData byte
colorMask byte
Résultat void

UpdateLEDs() public méthode

public UpdateLEDs ( DriveLEDState l0, DriveLEDState l1, DriveLEDState l2, DriveLEDState l3 ) : void
l0 DriveLEDState
l1 DriveLEDState
l2 DriveLEDState
l3 DriveLEDState
Résultat void

getBitsPerPixel() public méthode

public getBitsPerPixel ( ) : int
Résultat int

getHeight() public méthode

public getHeight ( ) : int
Résultat int

getPalette() public méthode

public getPalette ( ) : Color[]
Résultat Color[]

getWidth() public méthode

public getWidth ( ) : int
Résultat int

processKey() public méthode

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
Résultat void